mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
40
Brutal.ImGui/Generated/PInvoke/GetKeyPressedAmount.gen.cs
Normal file
40
Brutal.ImGui/Generated/PInvoke/GetKeyPressedAmount.gen.cs
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
// <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>
|
||||
/// uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate
|
||||
/// is small enough that DeltaTime > RepeatRate
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1085">imgui.h:1085</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L9895">imgui.cpp:9895</see>
|
||||
/// <br/><c>int GetKeyPressedAmount(ImGuiKey key, float repeat_delay, float rate)</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 < 512 to detect passing legacy native/user indices)
|
||||
/// </code>
|
||||
/// <code>
|
||||
/// Return value representing the number of presses in the last time period, for the given repeat rate
|
||||
/// (most often returns 0 or 1. The result is generally only >1 when RepeatRate is smaller than DeltaTime, aka large DeltaTime or fast RepeatRate)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial int GetKeyPressedAmount(ImGuiKey key, float repeat_delay, float rate);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue