brutal/Brutal.ImGui/Generated/PInvoke/LoadIniSettingsFromMemory.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

40 lines
2 KiB
C#

// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
public partial class ImGui
{
public unsafe partial class PInvoke
{
/// <summary>
/// <para>
/// call after CreateContext() and before the first call to NewFrame() to provide .ini data from your
/// own data source.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1147">imgui.h:1147</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L15850">imgui.cpp:15850</see>
/// <br/><c>void LoadIniSettingsFromMemory(const char* ini_data, size_t ini_size=0)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Settings/.Ini Utilities
/// - The disk functions are automatically called if io.IniFilename != NULL (default is "imgui.ini").
/// - Set io.IniFilename to NULL to load/save manually. Read io.WantSaveIniSettings description about handling .ini saving manually.
/// - Important: default value "imgui.ini" is relative to current working dir! Most apps will want to lock this to an absolute path (e.g. same path as executables).
/// </code>
/// <code>
/// Zero-tolerance, no error reporting, cheap .ini parsing
/// Set ini_size==0 to let us use strlen(ini_data). Do not call this function with a 0 if your buffer is actually empty!
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial void LoadIniSettingsFromMemory(byte* ini_data, nuint ini_size);
}
}
}