//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
public partial class ImGui
{
public unsafe partial class PInvoke
{
///
///
/// C++:
/// imgui.h:3515
/// ,
/// imgui_draw.cpp:2252
///
void Clear()
///
///
///
///
/// Functions
///
///
[LibraryImport("imgui")]
public static unsafe partial void ImDrawData_Clear(ImDrawData* target);
///
///
/// Helper to add an external draw list into an existing ImDrawData.
///
///
/// C++:
/// imgui.h:3516
/// ,
/// imgui_draw.cpp:2309
///
void AddDrawList(ImDrawList* draw_list)
///
///
///
///
/// Functions
///
///
[LibraryImport("imgui")]
public static unsafe partial void ImDrawData_AddDrawList(ImDrawData* target, ImDrawList* draw_list);
///
///
/// 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!
///
///
/// C++:
/// imgui.h:3517
/// ,
/// imgui_draw.cpp:2317
///
void DeIndexAllBuffers()
///
///
///
///
/// Functions
///
///
/// 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!
///
///
[LibraryImport("imgui")]
public static unsafe partial void ImDrawData_DeIndexAllBuffers(ImDrawData* target);
///
///
/// 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.
///
///
/// C++:
/// imgui.h:3518
/// ,
/// imgui_draw.cpp:2337
///
void ScaleClipRects(const ImVec2& fb_scale)
///
///
///
///
/// Functions
///
///
/// Helper to scale the ClipRect field of each ImDrawCmd.
/// Use if your final output buffer is at a different scale than draw_data->DisplaySize,
/// or if there is a difference between your window resolution and framebuffer resolution.
///
///
[LibraryImport("imgui")]
public static unsafe partial void ImDrawData_ScaleClipRects(ImDrawData* target, float2* fb_scale);
}
}
}