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

27 lines
1.2 KiB
C#

// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
public unsafe partial class PInvoke
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3563">imgui_internal.h:3563</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L10381">imgui.cpp:10381</see>
/// <br/><c>void TeleportMousePos(const ImVec2&amp; pos)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// This is called TeleportMousePos() and not SetMousePos() to emphasis that setting MousePosPrev will effectively clear mouse delta as well.
/// It is expected you only call this if (io.BackendFlags &amp; ImGuiBackendFlags_HasSetMousePos) is set and supported by backend.
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial void TeleportMousePos_internal(float2* pos);
}
}