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

37 lines
1.8 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>
/// Override io.WantCaptureMouse flag next frame (said flag is left for your application to handle,
/// typical when true it instructs your app to ignore inputs). This is equivalent to setting
/// "io.WantCaptureMouse = want_capture_mouse;" after the next NewFrame() call.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1135">imgui.h:1135</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L10781">imgui.cpp:10781</see>
/// <br/><c>void SetNextFrameWantCaptureMouse(bool want_capture_mouse)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Inputs Utilities: Mouse
/// - To refer to a mouse button, you may use named enums in your code e.g. ImGuiMouseButton_Left, ImGuiMouseButton_Right.
/// - You can also use regular integer: it is forever guaranteed that 0=Left, 1=Right, 2=Middle.
/// - Dragging operations are only reported after mouse has moved a certain distance away from the initial clicking position (see 'lock_threshold' and 'io.MouseDraggingThreshold')
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial void SetNextFrameWantCaptureMouse(Bool8 want_capture_mouse);
}
}
}