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

35 lines
1.5 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>
/// this is a helper for backends. the type platform_handle is decided by the backend (e.g. HWND,
/// MyWindow*, GLFWwindow* etc.)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1178">imgui.h:1178</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L16186">imgui.cpp:16186</see>
/// <br/><c>ImGuiViewport* FindViewportByPlatformHandle(void* platform_handle)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// (Optional) Platform/OS interface for multi-viewport support
/// Read comments around the ImGuiPlatformIO structure for more details.
/// Note: You may use GetWindowViewport() to get the current viewport of the current window.
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial ImGuiViewport* FindViewportByPlatformHandle(void* platform_handle);
}
}
}