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

38 lines
1.3 KiB
C#

// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
public static partial class ImGuiViewportExtensions
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L4048">imgui.h:4048</see>
/// <br/><c>ImVec2 GetCenter() const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Helpers
/// </para>
/// </remarks>
public static unsafe float2 GetCenter(this ImGuiViewportPtr target) => PInvoke.ImGuiViewport_GetCenter(target);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L4049">imgui.h:4049</see>
/// <br/><c>ImVec2 GetWorkCenter() const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Helpers
/// </para>
/// </remarks>
public static unsafe float2 GetWorkCenter(this ImGuiViewportPtr target) =>
PInvoke.ImGuiViewport_GetWorkCenter(target);
}
}