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

38 lines
2.1 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.WantCaptureKeyboard flag next frame (said flag is left for your application to handle,
/// typically when true it instructs your app to ignore inputs). e.g. force capture keyboard when your
/// widget is being hovered. This is equivalent to setting "io.WantCaptureKeyboard =
/// want_capture_keyboard"; after the next NewFrame() call.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1087">imgui.h:1087</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L10775">imgui.cpp:10775</see>
/// <br/><c>void SetNextFrameWantCaptureKeyboard(bool want_capture_keyboard)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Inputs Utilities: Keyboard/Mouse/Gamepad
/// - the ImGuiKey enum contains all possible keyboard, mouse and gamepad inputs (e.g. ImGuiKey_A, ImGuiKey_MouseLeft, ImGuiKey_GamepadDpadUp...).
/// - (legacy: before v1.87, we used ImGuiKey to carry native/user indices as defined by each backends. This was obsoleted in 1.87 (2022-02) and completely removed in 1.91.5 (2024-11). See https://github.com/ocornut/imgui/issues/4921)
/// - (legacy: any use of ImGuiKey will assert when key &lt; 512 to detect passing legacy native/user indices)
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial void SetNextFrameWantCaptureKeyboard(Bool8 want_capture_keyboard);
}
}
}