mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
38 lines
1.3 KiB
C#
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);
|
|
}
|
|
}
|