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

102 lines
4.7 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>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3515">imgui.h:3515</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_draw.cpp#L2252">imgui_draw.cpp:2252</see>
/// <br/><c>void Clear()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Functions
/// </para>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial void ImDrawData_Clear(ImDrawData* target);
/// <summary>
/// <para>
/// Helper to add an external draw list into an existing ImDrawData.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3516">imgui.h:3516</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_draw.cpp#L2309">imgui_draw.cpp:2309</see>
/// <br/><c>void AddDrawList(ImDrawList* draw_list)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Functions
/// </para>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial void ImDrawData_AddDrawList(ImDrawData* target, ImDrawList* draw_list);
/// <summary>
/// <para>
/// Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note:
/// this is slow and most likely a waste of resources. Always prefer indexed rendering!
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3517">imgui.h:3517</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_draw.cpp#L2317">imgui_draw.cpp:2317</see>
/// <br/><c>void DeIndexAllBuffers()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Functions
/// </para>
/// <para>
/// For backward compatibility: convert all buffers from indexed to de-indexed, in case you cannot
/// render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed
/// rendering!
/// </para>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial void ImDrawData_DeIndexAllBuffers(ImDrawData* target);
/// <summary>
/// <para>
/// Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a
/// different scale than Dear ImGui expects, or if there is a difference between your window resolution
/// and framebuffer resolution.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3518">imgui.h:3518</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_draw.cpp#L2337">imgui_draw.cpp:2337</see>
/// <br/><c>void ScaleClipRects(const ImVec2&amp; fb_scale)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Functions
/// </para>
/// <code>
/// Helper to scale the ClipRect field of each ImDrawCmd.
/// Use if your final output buffer is at a different scale than draw_data-&gt;DisplaySize,
/// or if there is a difference between your window resolution and framebuffer resolution.
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial void ImDrawData_ScaleClipRects(ImDrawData* target, float2* fb_scale);
}
}
}