//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
public partial class ImGui
{
public unsafe partial class PInvoke
{
///
///
/// 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.
///
///
/// C++:
/// imgui.h:482
/// ,
/// imgui.cpp:8996
///
/// void SetNextWindowSizeConstraints(const ImVec2& size_min, const ImVec2& size_max, ImGuiSizeCallback custom_callback = NULL, void* custom_callback_data = NULL)
///
///
///
///
/// Window manipulation
/// - Prefer using SetNextXXX functions (before Begin) rather that SetXXX functions (after Begin).
///
///
/// For each axis:
/// - Use 0.0f as min or FLT_MAX as max if you don't want limits, e.g. size_min = (500.0f, 0.0f), size_max = (FLT_MAX, FLT_MAX) sets a minimum width.
/// - Use -1 for both min and max of same axis to preserve current size which itself is a constraint.
/// - See "Demo->Examples->Constrained-resizing window" for examples.
///
///
[LibraryImport("imgui")]
public static unsafe partial void SetNextWindowSizeConstraints(
float2* size_min,
float2* size_max,
nint custom_callback,
void* custom_callback_data
);
}
}
}