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

35 lines
1.6 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#L3714">imgui_internal.h:3714</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_tables.cpp#L4144">imgui_tables.cpp:4144</see>
/// <br/><c>void SetWindowClipRectBeforeSetChannel(ImGuiWindow* window, const ImRect&amp; clip_rect)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Internal Columns API (this is not exposed because we will encourage transitioning to the Tables API)
/// </para>
/// <code>
/// [Internal] Small optimization to avoid calls to PopClipRect/SetCurrentChannel/PushClipRect in sequences,
/// they would meddle many times with the underlying ImDrawCmd.
/// Instead, we do a preemptive overwrite of clipping rectangle _without_ altering the command-buffer and let
/// the subsequent single call to SetCurrentChannel() does it things once.
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial void SetWindowClipRectBeforeSetChannel_internal(
ImGuiWindow* window,
floatRect* clip_rect
);
}
}