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

39 lines
1.7 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>
/// 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()
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L483">imgui.h:483</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L9007">imgui.cpp:9007</see>
/// <br/><c>void SetNextWindowContentSize(const ImVec2&amp; size)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Window manipulation
/// - Prefer using SetNextXXX functions (before Begin) rather that SetXXX functions (after Begin).
/// </code>
/// <code>
/// Content size = inner scrollable rectangle, padded with WindowPadding.
/// SetNextWindowContentSize(ImVec2(100,100) + ImGuiWindowFlags_AlwaysAutoResize will always allow submitting a 100x100 item.
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial void SetNextWindowContentSize(float2* size);
}
}
}