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

55 lines
2.5 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>
/// (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.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L490">imgui.h:490</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L8912">imgui.cpp:8912</see>
/// <br/><c>void SetWindowSize(const ImVec2&amp; size, ImGuiCond cond = 0)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Window manipulation
/// - Prefer using SetNextXXX functions (before Begin) rather that SetXXX functions (after Begin).
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial void SetWindowSize_0(float2* size, ImGuiCond cond);
/// <summary>
/// <para>
/// set named window size. set axis to 0.0f to force an auto-fit on this axis.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L494">imgui.h:494</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L8917">imgui.cpp:8917</see>
/// <br/><c>void SetWindowSize(const char* name, const ImVec2&amp; size, ImGuiCond cond = 0)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Window manipulation
/// - Prefer using SetNextXXX functions (before Begin) rather that SetXXX functions (after Begin).
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial void SetWindowSize_1(byte* name, float2* size, ImGuiCond cond);
}
}
}