brutal/Brutal.ImGui/Generated/PInvoke/SaveIniSettingsToMemory.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>
/// 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.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1149">imgui.h:1149</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L15937">imgui.cpp:15937</see>
/// <br/><c>const char* SaveIniSettingsToMemory(size_t* out_ini_size = NULL)</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>
/// <para>
/// Call registered handlers (e.g. SettingsHandlerWindow_WriteAll() + custom handlers) to write their
/// stuff into a text buffer
/// </para>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial byte* SaveIniSettingsToMemory(nuint* out_ini_size);
}
}
}