// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable namespace Brutal.ImGuiApi { public partial class ImGui { public unsafe partial class PInvoke { /// /// /// Render-level scissoring. This is passed down to your render function but not used for CPU-side /// coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and /// widget culling) /// /// /// C++: /// imgui.h:3369 /// , /// imgui_draw.cpp:651 ///
/// void PushClipRect(const ImVec2& clip_rect_min, const ImVec2& clip_rect_max, bool intersect_with_current_clip_rect = false) ///
///
/// /// /// Render-level scissoring. This is passed down to your render function but not used for CPU-side /// coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and /// widget culling) /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PushClipRect( ImDrawList* target, float2* clip_rect_min, float2* clip_rect_max, Bool8 intersect_with_current_clip_rect ); /// /// /// C++: /// imgui.h:3370 /// , /// imgui_draw.cpp:670 ///
void PushClipRectFullScreen() ///
///
[LibraryImport("imgui")] public static unsafe partial void ImDrawList_PushClipRectFullScreen(ImDrawList* target); /// /// /// C++: /// imgui.h:3371 /// , /// imgui_draw.cpp:675 ///
void PopClipRect() ///
///
[LibraryImport("imgui")] public static unsafe partial void ImDrawList_PopClipRect(ImDrawList* target); /// /// /// C++: /// imgui.h:3372 /// , /// imgui_draw.cpp:682 ///
void PushTexture(ImTextureRef tex_ref) ///
///
[LibraryImport("imgui")] public static unsafe partial void ImDrawList_PushTexture(ImDrawList* target, ImTextureRef tex_ref); /// /// /// C++: /// imgui.h:3373 /// , /// imgui_draw.cpp:691 ///
void PopTexture() ///
///
[LibraryImport("imgui")] public static unsafe partial void ImDrawList_PopTexture(ImDrawList* target); /// /// /// C++: /// imgui.h:3374 ///
inline ImVec2 GetClipRectMin() const ///
///
[LibraryImport("imgui")] public static unsafe partial float2 ImDrawList_GetClipRectMin(ImDrawList* target); /// /// /// C++: /// imgui.h:3375 ///
inline ImVec2 GetClipRectMax() const ///
///
[LibraryImport("imgui")] public static unsafe partial float2 ImDrawList_GetClipRectMax(ImDrawList* target); /// /// /// C++: /// imgui.h:3384 /// , /// imgui_draw.cpp:1479 ///
/// void AddLine(const ImVec2& p1, const ImVec2& p2, ImU32 col, float thickness = 1.0f) ///
///
/// /// /// Primitives /// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// - For rectangular primitives, "p_min" and "p_max" represent the upper-left and lower-right corners. /// - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred). /// In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12. /// In future versions we will use textures to provide cheaper and higher-quality circles. /// Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddLine( ImDrawList* target, float2* p1, float2* p2, uint col, float thickness ); /// /// /// a: upper-left, b: lower-right (== upper-left + size) /// /// /// C++: /// imgui.h:3385 /// , /// imgui_draw.cpp:1490 ///
/// void AddRect(const ImVec2& p_min, const ImVec2& p_max, ImU32 col, float rounding = 0.0f, ImDrawFlags flags = 0, float thickness = 1.0f) ///
///
/// /// /// Primitives /// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// - For rectangular primitives, "p_min" and "p_max" represent the upper-left and lower-right corners. /// - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred). /// In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12. /// In future versions we will use textures to provide cheaper and higher-quality circles. /// Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides. /// /// /// p_min = upper-left, p_max = lower-right /// Note we don't render 1 pixels sized rectangles properly. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddRect( ImDrawList* target, float2* p_min, float2* p_max, uint col, float rounding, ImDrawFlags flags, float thickness ); /// /// /// a: upper-left, b: lower-right (== upper-left + size) /// /// /// C++: /// imgui.h:3386 /// , /// imgui_draw.cpp:1501 ///
/// void AddRectFilled(const ImVec2& p_min, const ImVec2& p_max, ImU32 col, float rounding = 0.0f, ImDrawFlags flags = 0) ///
///
/// /// /// Primitives /// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// - For rectangular primitives, "p_min" and "p_max" represent the upper-left and lower-right corners. /// - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred). /// In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12. /// In future versions we will use textures to provide cheaper and higher-quality circles. /// Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddRectFilled( ImDrawList* target, float2* p_min, float2* p_max, uint col, float rounding, ImDrawFlags flags ); /// /// /// C++: /// imgui.h:3387 /// , /// imgui_draw.cpp:1518 ///
/// void AddRectFilledMultiColor(const ImVec2& p_min, const ImVec2& p_max, ImU32 col_upr_left, ImU32 col_upr_right, ImU32 col_bot_right, ImU32 col_bot_left) ///
///
/// /// /// Primitives /// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// - For rectangular primitives, "p_min" and "p_max" represent the upper-left and lower-right corners. /// - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred). /// In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12. /// In future versions we will use textures to provide cheaper and higher-quality circles. /// Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides. /// /// /// p_min = upper-left, p_max = lower-right /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddRectFilledMultiColor( ImDrawList* target, float2* p_min, float2* p_max, uint col_upr_left, uint col_upr_right, uint col_bot_right, uint col_bot_left ); /// /// /// C++: /// imgui.h:3388 /// , /// imgui_draw.cpp:1533 ///
/// void AddQuad(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness = 1.0f) ///
///
/// /// /// Primitives /// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// - For rectangular primitives, "p_min" and "p_max" represent the upper-left and lower-right corners. /// - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred). /// In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12. /// In future versions we will use textures to provide cheaper and higher-quality circles. /// Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddQuad( ImDrawList* target, float2* p1, float2* p2, float2* p3, float2* p4, uint col, float thickness ); /// /// /// C++: /// imgui.h:3389 /// , /// imgui_draw.cpp:1545 ///
/// void AddQuadFilled(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col) ///
///
/// /// /// Primitives /// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// - For rectangular primitives, "p_min" and "p_max" represent the upper-left and lower-right corners. /// - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred). /// In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12. /// In future versions we will use textures to provide cheaper and higher-quality circles. /// Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddQuadFilled( ImDrawList* target, float2* p1, float2* p2, float2* p3, float2* p4, uint col ); /// /// /// C++: /// imgui.h:3390 /// , /// imgui_draw.cpp:1557 ///
/// void AddTriangle(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col, float thickness = 1.0f) ///
///
/// /// /// Primitives /// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// - For rectangular primitives, "p_min" and "p_max" represent the upper-left and lower-right corners. /// - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred). /// In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12. /// In future versions we will use textures to provide cheaper and higher-quality circles. /// Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddTriangle( ImDrawList* target, float2* p1, float2* p2, float2* p3, uint col, float thickness ); /// /// /// C++: /// imgui.h:3391 /// , /// imgui_draw.cpp:1568 ///
/// void AddTriangleFilled(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col) ///
///
/// /// /// Primitives /// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// - For rectangular primitives, "p_min" and "p_max" represent the upper-left and lower-right corners. /// - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred). /// In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12. /// In future versions we will use textures to provide cheaper and higher-quality circles. /// Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddTriangleFilled( ImDrawList* target, float2* p1, float2* p2, float2* p3, uint col ); /// /// /// C++: /// imgui.h:3392 /// , /// imgui_draw.cpp:1579 ///
/// void AddCircle(const ImVec2& center, float radius, ImU32 col, int num_segments = 0, float thickness = 1.0f) ///
///
/// /// /// Primitives /// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// - For rectangular primitives, "p_min" and "p_max" represent the upper-left and lower-right corners. /// - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred). /// In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12. /// In future versions we will use textures to provide cheaper and higher-quality circles. /// Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddCircle( ImDrawList* target, float2* center, float radius, uint col, int num_segments, float thickness ); /// /// /// C++: /// imgui.h:3393 /// , /// imgui_draw.cpp:1603 ///
/// void AddCircleFilled(const ImVec2& center, float radius, ImU32 col, int num_segments = 0) ///
///
/// /// /// Primitives /// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// - For rectangular primitives, "p_min" and "p_max" represent the upper-left and lower-right corners. /// - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred). /// In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12. /// In future versions we will use textures to provide cheaper and higher-quality circles. /// Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddCircleFilled( ImDrawList* target, float2* center, float radius, uint col, int num_segments ); /// /// /// C++: /// imgui.h:3394 /// , /// imgui_draw.cpp:1628 ///
/// void AddNgon(const ImVec2& center, float radius, ImU32 col, int num_segments, float thickness = 1.0f) ///
///
/// /// /// Primitives /// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// - For rectangular primitives, "p_min" and "p_max" represent the upper-left and lower-right corners. /// - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred). /// In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12. /// In future versions we will use textures to provide cheaper and higher-quality circles. /// Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides. /// /// /// Guaranteed to honor 'num_segments' /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddNgon( ImDrawList* target, float2* center, float radius, uint col, int num_segments, float thickness ); /// /// /// C++: /// imgui.h:3395 /// , /// imgui_draw.cpp:1640 ///
void AddNgonFilled(const ImVec2& center, float radius, ImU32 col, int num_segments) ///
///
/// /// /// Primitives /// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// - For rectangular primitives, "p_min" and "p_max" represent the upper-left and lower-right corners. /// - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred). /// In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12. /// In future versions we will use textures to provide cheaper and higher-quality circles. /// Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides. /// /// /// Guaranteed to honor 'num_segments' /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddNgonFilled( ImDrawList* target, float2* center, float radius, uint col, int num_segments ); /// /// /// C++: /// imgui.h:3396 /// , /// imgui_draw.cpp:1652 ///
/// void AddEllipse(const ImVec2& center, const ImVec2& radius, ImU32 col, float rot = 0.0f, int num_segments = 0, float thickness = 1.0f) ///
///
/// /// /// Primitives /// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// - For rectangular primitives, "p_min" and "p_max" represent the upper-left and lower-right corners. /// - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred). /// In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12. /// In future versions we will use textures to provide cheaper and higher-quality circles. /// Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides. /// /// /// Ellipse /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddEllipse( ImDrawList* target, float2* center, float2* radius, uint col, float rot, int num_segments, float thickness ); /// /// /// C++: /// imgui.h:3397 /// , /// imgui_draw.cpp:1666 ///
/// void AddEllipseFilled(const ImVec2& center, const ImVec2& radius, ImU32 col, float rot = 0.0f, int num_segments = 0) ///
///
/// /// /// Primitives /// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// - For rectangular primitives, "p_min" and "p_max" represent the upper-left and lower-right corners. /// - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred). /// In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12. /// In future versions we will use textures to provide cheaper and higher-quality circles. /// Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddEllipseFilled( ImDrawList* target, float2* center, float2* radius, uint col, float rot, int num_segments ); /// /// /// C++: /// imgui.h:3398 /// , /// imgui_draw.cpp:1729 ///
/// void AddText(const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end = NULL) ///
///
/// /// /// Primitives /// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// - For rectangular primitives, "p_min" and "p_max" represent the upper-left and lower-right corners. /// - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred). /// In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12. /// In future versions we will use textures to provide cheaper and higher-quality circles. /// Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddText_0( ImDrawList* target, float2* pos, uint col, byte* text_begin, byte* text_end ); /// /// /// C++: /// imgui.h:3399 /// , /// imgui_draw.cpp:1702 ///
/// void AddText(ImFont* font, float font_size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end = NULL, float wrap_width = 0.0f, const ImVec4* cpu_fine_clip_rect = NULL) ///
///
/// /// /// Primitives /// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// - For rectangular primitives, "p_min" and "p_max" represent the upper-left and lower-right corners. /// - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred). /// In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12. /// In future versions we will use textures to provide cheaper and higher-quality circles. /// Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddText_1( ImDrawList* target, ImFont* font, float font_size, float2* pos, uint col, byte* text_begin, byte* text_end, float wrap_width, float4* cpu_fine_clip_rect ); /// /// /// Cubic Bezier (4 control points) /// /// /// C++: /// imgui.h:3400 /// , /// imgui_draw.cpp:1681 ///
/// void AddBezierCubic(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness, int num_segments = 0) ///
///
/// /// /// Primitives /// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// - For rectangular primitives, "p_min" and "p_max" represent the upper-left and lower-right corners. /// - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred). /// In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12. /// In future versions we will use textures to provide cheaper and higher-quality circles. /// Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides. /// /// /// Cubic Bezier takes 4 controls points /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddBezierCubic( ImDrawList* target, float2* p1, float2* p2, float2* p3, float2* p4, uint col, float thickness, int num_segments ); /// /// /// Quadratic Bezier (3 control points) /// /// /// C++: /// imgui.h:3401 /// , /// imgui_draw.cpp:1692 ///
/// void AddBezierQuadratic(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col, float thickness, int num_segments = 0) ///
///
/// /// /// Primitives /// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// - For rectangular primitives, "p_min" and "p_max" represent the upper-left and lower-right corners. /// - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred). /// In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12. /// In future versions we will use textures to provide cheaper and higher-quality circles. /// Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides. /// /// /// Quadratic Bezier takes 3 controls points /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddBezierQuadratic( ImDrawList* target, float2* p1, float2* p2, float2* p3, uint col, float thickness, int num_segments ); /// /// /// C++: /// imgui.h:3406 /// , /// imgui_draw.cpp:801 ///
/// void AddPolyline(const ImVec2* points, int num_points, ImU32 col, ImDrawFlags flags, float thickness) ///
///
/// /// /// General polygon /// - Only simple polygons are supported by filling functions (no self-intersections, no holes). /// - Concave polygon fill is more expensive than convex one: it has O(N^2) complexity. Provided as a convenience for the user but not used by the main library. /// /// /// TODO: Thickness anti-aliased lines cap are missing their AA fringe. /// We avoid using the ImVec2 math operators here to reduce cost to a minimum for debug/non-inlined builds. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddPolyline( ImDrawList* target, float2* points, int num_points, uint col, ImDrawFlags flags, float thickness ); /// /// /// C++: /// imgui.h:3407 /// , /// imgui_draw.cpp:1059 ///
void AddConvexPolyFilled(const ImVec2* points, int num_points, ImU32 col) ///
///
/// /// /// General polygon /// - Only simple polygons are supported by filling functions (no self-intersections, no holes). /// - Concave polygon fill is more expensive than convex one: it has O(N^2) complexity. Provided as a convenience for the user but not used by the main library. /// /// /// - We intentionally avoid using ImVec2 and its math operators here to reduce cost to a minimum for debug/non-inlined builds. /// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddConvexPolyFilled( ImDrawList* target, float2* points, int num_points, uint col ); /// /// /// C++: /// imgui.h:3408 /// , /// imgui_draw.cpp:2013 ///
void AddConcavePolyFilled(const ImVec2* points, int num_points, ImU32 col) ///
///
/// /// /// General polygon /// - Only simple polygons are supported by filling functions (no self-intersections, no holes). /// - Concave polygon fill is more expensive than convex one: it has O(N^2) complexity. Provided as a convenience for the user but not used by the main library. /// /// /// Use ear-clipping algorithm to triangulate a simple polygon (no self-interaction, no holes). /// (Reminder: we don't perform any coarse clipping/culling in ImDrawList layer! /// It is up to caller to ensure not making costly calls that will be outside of visible area. /// As concave fill is noticeably more expensive than other primitives, be mindful of this... /// Caller can build AABB of points, and avoid filling if 'draw_list->_CmdHeader.ClipRect.Overlays(points_bb) == false') /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddConcavePolyFilled( ImDrawList* target, float2* points, int num_points, uint col ); /// /// /// C++: /// imgui.h:3414 /// , /// imgui_draw.cpp:1734 ///
/// void AddImage(ImTextureRef tex_ref, const ImVec2& p_min, const ImVec2& p_max, const ImVec2& uv_min = ImVec2(0, 0), const ImVec2& uv_max = ImVec2(1, 1), ImU32 col = IM_COL32_WHITE) ///
///
/// /// /// Image primitives /// - Read FAQ to understand what ImTextureID/ImTextureRef are. /// - "p_min" and "p_max" represent the upper-left and lower-right corners of the rectangle. /// - "uv_min" and "uv_max" represent the normalized texture coordinates to use for those corners. Using (0,0)->(1,1) texture coordinates will generally display the entire texture. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddImage( ImDrawList* target, ImTextureRef tex_ref, float2* p_min, float2* p_max, float2* uv_min, float2* uv_max, uint col ); /// /// /// C++: /// imgui.h:3415 /// , /// imgui_draw.cpp:1750 ///
/// void AddImageQuad(ImTextureRef tex_ref, const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, const ImVec2& uv1 = ImVec2(0, 0), const ImVec2& uv2 = ImVec2(1, 0), const ImVec2& uv3 = ImVec2(1, 1), const ImVec2& uv4 = ImVec2(0, 1), ImU32 col = IM_COL32_WHITE) ///
///
/// /// /// Image primitives /// - Read FAQ to understand what ImTextureID/ImTextureRef are. /// - "p_min" and "p_max" represent the upper-left and lower-right corners of the rectangle. /// - "uv_min" and "uv_max" represent the normalized texture coordinates to use for those corners. Using (0,0)->(1,1) texture coordinates will generally display the entire texture. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddImageQuad( ImDrawList* target, ImTextureRef tex_ref, float2* p1, float2* p2, float2* p3, float2* p4, float2* uv1, float2* uv2, float2* uv3, float2* uv4, uint col ); /// /// /// C++: /// imgui.h:3416 /// , /// imgui_draw.cpp:1766 ///
/// void AddImageRounded(ImTextureRef tex_ref, const ImVec2& p_min, const ImVec2& p_max, const ImVec2& uv_min, const ImVec2& uv_max, ImU32 col, float rounding, ImDrawFlags flags = 0) ///
///
/// /// /// Image primitives /// - Read FAQ to understand what ImTextureID/ImTextureRef are. /// - "p_min" and "p_max" represent the upper-left and lower-right corners of the rectangle. /// - "uv_min" and "uv_max" represent the normalized texture coordinates to use for those corners. Using (0,0)->(1,1) texture coordinates will generally display the entire texture. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddImageRounded( ImDrawList* target, ImTextureRef tex_ref, float2* p_min, float2* p_max, float2* uv_min, float2* uv_max, uint col, float rounding, ImDrawFlags flags ); /// /// /// C++: /// imgui.h:3421 ///
inline void PathClear() ///
///
/// /// /// Stateful path API, add points then finish with PathFillConvex() or PathStroke() /// - Important: filled shapes must always use clockwise winding order! The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// so e.g. 'PathArcTo(center, radius, PI * -0.5f, PI)' is ok, whereas 'PathArcTo(center, radius, PI, PI * -0.5f)' won't have correct anti-aliasing when followed by PathFillConvex(). /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PathClear(ImDrawList* target); /// /// /// C++: /// imgui.h:3422 ///
inline void PathLineTo(const ImVec2& pos) ///
///
/// /// /// Stateful path API, add points then finish with PathFillConvex() or PathStroke() /// - Important: filled shapes must always use clockwise winding order! The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// so e.g. 'PathArcTo(center, radius, PI * -0.5f, PI)' is ok, whereas 'PathArcTo(center, radius, PI, PI * -0.5f)' won't have correct anti-aliasing when followed by PathFillConvex(). /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PathLineTo(ImDrawList* target, float2* pos); /// /// /// C++: /// imgui.h:3423 ///
inline void PathLineToMergeDuplicate(const ImVec2& pos) ///
///
/// /// /// Stateful path API, add points then finish with PathFillConvex() or PathStroke() /// - Important: filled shapes must always use clockwise winding order! The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// so e.g. 'PathArcTo(center, radius, PI * -0.5f, PI)' is ok, whereas 'PathArcTo(center, radius, PI, PI * -0.5f)' won't have correct anti-aliasing when followed by PathFillConvex(). /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PathLineToMergeDuplicate(ImDrawList* target, float2* pos); /// /// /// C++: /// imgui.h:3424 ///
inline void PathFillConvex(ImU32 col) ///
///
/// /// /// Stateful path API, add points then finish with PathFillConvex() or PathStroke() /// - Important: filled shapes must always use clockwise winding order! The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// so e.g. 'PathArcTo(center, radius, PI * -0.5f, PI)' is ok, whereas 'PathArcTo(center, radius, PI, PI * -0.5f)' won't have correct anti-aliasing when followed by PathFillConvex(). /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PathFillConvex(ImDrawList* target, uint col); /// /// /// C++: /// imgui.h:3425 ///
inline void PathFillConcave(ImU32 col) ///
///
/// /// /// Stateful path API, add points then finish with PathFillConvex() or PathStroke() /// - Important: filled shapes must always use clockwise winding order! The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// so e.g. 'PathArcTo(center, radius, PI * -0.5f, PI)' is ok, whereas 'PathArcTo(center, radius, PI, PI * -0.5f)' won't have correct anti-aliasing when followed by PathFillConvex(). /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PathFillConcave(ImDrawList* target, uint col); /// /// /// C++: /// imgui.h:3426 ///
inline void PathStroke(ImU32 col, ImDrawFlags flags = 0, float thickness = 1.0f) ///
///
/// /// /// Stateful path API, add points then finish with PathFillConvex() or PathStroke() /// - Important: filled shapes must always use clockwise winding order! The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// so e.g. 'PathArcTo(center, radius, PI * -0.5f, PI)' is ok, whereas 'PathArcTo(center, radius, PI, PI * -0.5f)' won't have correct anti-aliasing when followed by PathFillConvex(). /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PathStroke( ImDrawList* target, uint col, ImDrawFlags flags, float thickness ); /// /// /// C++: /// imgui.h:3427 /// , /// imgui_draw.cpp:1262 ///
/// void PathArcTo(const ImVec2& center, float radius, float a_min, float a_max, int num_segments = 0) ///
///
/// /// /// Stateful path API, add points then finish with PathFillConvex() or PathStroke() /// - Important: filled shapes must always use clockwise winding order! The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// so e.g. 'PathArcTo(center, radius, PI * -0.5f, PI)' is ok, whereas 'PathArcTo(center, radius, PI, PI * -0.5f)' won't have correct anti-aliasing when followed by PathFillConvex(). /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PathArcTo( ImDrawList* target, float2* center, float radius, float a_min, float a_max, int num_segments ); /// /// /// Use precomputed angles for a 12 steps circle /// /// /// C++: /// imgui.h:3428 /// , /// imgui_draw.cpp:1252 ///
/// void PathArcToFast(const ImVec2& center, float radius, int a_min_of_12, int a_max_of_12) ///
///
/// /// /// Stateful path API, add points then finish with PathFillConvex() or PathStroke() /// - Important: filled shapes must always use clockwise winding order! The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// so e.g. 'PathArcTo(center, radius, PI * -0.5f, PI)' is ok, whereas 'PathArcTo(center, radius, PI, PI * -0.5f)' won't have correct anti-aliasing when followed by PathFillConvex(). /// /// /// 0: East, 3: South, 6: West, 9: North, 12: East /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PathArcToFast( ImDrawList* target, float2* center, float radius, int a_min_of_12, int a_max_of_12 ); /// /// /// Ellipse /// /// /// C++: /// imgui.h:3429 /// , /// imgui_draw.cpp:1312 ///
/// void PathEllipticalArcTo(const ImVec2& center, const ImVec2& radius, float rot, float a_min, float a_max, int num_segments = 0) ///
///
/// /// /// Stateful path API, add points then finish with PathFillConvex() or PathStroke() /// - Important: filled shapes must always use clockwise winding order! The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// so e.g. 'PathArcTo(center, radius, PI * -0.5f, PI)' is ok, whereas 'PathArcTo(center, radius, PI, PI * -0.5f)' won't have correct anti-aliasing when followed by PathFillConvex(). /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PathEllipticalArcTo( ImDrawList* target, float2* center, float2* radius, float rot, float a_min, float a_max, int num_segments ); /// /// /// Cubic Bezier (4 control points) /// /// /// C++: /// imgui.h:3430 /// , /// imgui_draw.cpp:1395 ///
/// void PathBezierCubicCurveTo(const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, int num_segments = 0) ///
///
/// /// /// Stateful path API, add points then finish with PathFillConvex() or PathStroke() /// - Important: filled shapes must always use clockwise winding order! The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// so e.g. 'PathArcTo(center, radius, PI * -0.5f, PI)' is ok, whereas 'PathArcTo(center, radius, PI, PI * -0.5f)' won't have correct anti-aliasing when followed by PathFillConvex(). /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PathBezierCubicCurveTo( ImDrawList* target, float2* p2, float2* p3, float2* p4, int num_segments ); /// /// /// Quadratic Bezier (3 control points) /// /// /// C++: /// imgui.h:3431 /// , /// imgui_draw.cpp:1411 ///
/// void PathBezierQuadraticCurveTo(const ImVec2& p2, const ImVec2& p3, int num_segments = 0) ///
///
/// /// /// Stateful path API, add points then finish with PathFillConvex() or PathStroke() /// - Important: filled shapes must always use clockwise winding order! The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// so e.g. 'PathArcTo(center, radius, PI * -0.5f, PI)' is ok, whereas 'PathArcTo(center, radius, PI, PI * -0.5f)' won't have correct anti-aliasing when followed by PathFillConvex(). /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PathBezierQuadraticCurveTo( ImDrawList* target, float2* p2, float2* p3, int num_segments ); /// /// /// C++: /// imgui.h:3432 /// , /// imgui_draw.cpp:1451 ///
/// void PathRect(const ImVec2& rect_min, const ImVec2& rect_max, float rounding = 0.0f, ImDrawFlags flags = 0) ///
///
/// /// /// Stateful path API, add points then finish with PathFillConvex() or PathStroke() /// - Important: filled shapes must always use clockwise winding order! The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. /// so e.g. 'PathArcTo(center, radius, PI * -0.5f, PI)' is ok, whereas 'PathArcTo(center, radius, PI, PI * -0.5f)' won't have correct anti-aliasing when followed by PathFillConvex(). /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PathRect( ImDrawList* target, float2* rect_min, float2* rect_max, float rounding, ImDrawFlags flags ); /// /// /// C++: /// imgui.h:3443 /// , /// imgui_draw.cpp:522 ///
void AddCallback(ImDrawCallback callback, void* userdata, size_t userdata_size = 0) ///
///
/// /// /// Advanced: Draw Callbacks /// - May be used to alter render state (change sampler, blending, current shader). May be used to emit custom rendering commands (difficult to do correctly, but possible). /// - Use special ImDrawCallback_ResetRenderState callback to instruct backend to reset its render state to the default. /// - Your rendering loop must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles. All standard backends are honoring this. /// - For some backends, the callback may access selected render-states exposed by the backend in a ImGui_ImplXXXX_RenderState structure pointed to by platform_io.Renderer_RenderState. /// - IMPORTANT: please be mindful of the different level of indirection between using size==0 (copying argument) and using size>0 (copying pointed data into a buffer). /// - If userdata_size == 0: we copy/store the 'userdata' argument as-is. It will be available unmodified in ImDrawCmd::UserCallbackData during render. /// - If userdata_size > 0, we copy/store 'userdata_size' bytes pointed to by 'userdata'. We store them in a buffer stored inside the drawlist. ImDrawCmd::UserCallbackData will point inside that buffer so you have to retrieve data from there. Your callback may need to use ImDrawCmd::UserCallbackDataSize if you expect dynamically-sized data. /// - Support for userdata_size > 0 was added in v1.91.4, October 2024. So earlier code always only allowed to copy/store a simple void*. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddCallback( ImDrawList* target, nint callback, void* userdata, nuint userdata_size ); /// /// /// This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / /// blending). Otherwise primitives are merged into the same draw-call as much as possible /// /// /// C++: /// imgui.h:3446 /// , /// imgui_draw.cpp:497 ///
void AddDrawCmd() ///
///
/// /// /// Advanced: Miscellaneous /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_AddDrawCmd(ImDrawList* target); /// /// /// Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer. /// /// /// C++: /// imgui.h:3447 /// , /// imgui_draw.cpp:487 ///
ImDrawList* CloneOutput() const ///
///
/// /// /// Advanced: Miscellaneous /// /// [LibraryImport("imgui")] public static unsafe partial ImDrawList* ImDrawList_CloneOutput(ImDrawList* target); /// /// /// C++: /// imgui.h:3455 ///
inline void ChannelsSplit(int count) ///
///
/// /// /// Advanced: Channels /// - Use to split render into layers. By switching channels to can render out-of-order (e.g. submit FG primitives before BG primitives) /// - Use to minimize draw calls (e.g. if going back-and-forth between multiple clipping rectangles, prefer to append into separate channels then merge at the end) /// - This API shouldn't have been in ImDrawList in the first place! /// Prefer using your own persistent instance of ImDrawListSplitter as you can stack them. /// Using the ImDrawList::ChannelsXXXX you cannot stack a split over another. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_ChannelsSplit(ImDrawList* target, int count); /// /// /// C++: /// imgui.h:3456 ///
inline void ChannelsMerge() ///
///
/// /// /// Advanced: Channels /// - Use to split render into layers. By switching channels to can render out-of-order (e.g. submit FG primitives before BG primitives) /// - Use to minimize draw calls (e.g. if going back-and-forth between multiple clipping rectangles, prefer to append into separate channels then merge at the end) /// - This API shouldn't have been in ImDrawList in the first place! /// Prefer using your own persistent instance of ImDrawListSplitter as you can stack them. /// Using the ImDrawList::ChannelsXXXX you cannot stack a split over another. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_ChannelsMerge(ImDrawList* target); /// /// /// C++: /// imgui.h:3457 ///
inline void ChannelsSetCurrent(int n) ///
///
/// /// /// Advanced: Channels /// - Use to split render into layers. By switching channels to can render out-of-order (e.g. submit FG primitives before BG primitives) /// - Use to minimize draw calls (e.g. if going back-and-forth between multiple clipping rectangles, prefer to append into separate channels then merge at the end) /// - This API shouldn't have been in ImDrawList in the first place! /// Prefer using your own persistent instance of ImDrawListSplitter as you can stack them. /// Using the ImDrawList::ChannelsXXXX you cannot stack a split over another. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_ChannelsSetCurrent(ImDrawList* target, int n); /// /// /// C++: /// imgui.h:3462 /// , /// imgui_draw.cpp:711 ///
void PrimReserve(int idx_count, int vtx_count) ///
///
/// /// /// Advanced: Primitives allocations /// - We render triangles (three vertices) /// - All primitives needs to be reserved via PrimReserve() beforehand. /// /// /// Reserve space for a number of vertices and indices. /// You must finish filling your reserved data before calling PrimReserve() again, as it may reallocate or /// submit the intermediate results. PrimUnreserve() can be used to release unused allocations. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PrimReserve(ImDrawList* target, int idx_count, int vtx_count); /// /// /// C++: /// imgui.h:3463 /// , /// imgui_draw.cpp:737 ///
void PrimUnreserve(int idx_count, int vtx_count) ///
///
/// /// /// Advanced: Primitives allocations /// - We render triangles (three vertices) /// - All primitives needs to be reserved via PrimReserve() beforehand. /// /// /// Release the number of reserved vertices/indices from the end of the last reservation made with /// PrimReserve(). /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PrimUnreserve( ImDrawList* target, int idx_count, int vtx_count ); /// /// /// Axis aligned rectangle (composed of two triangles) /// /// /// C++: /// imgui.h:3464 /// , /// imgui_draw.cpp:748 ///
void PrimRect(const ImVec2& a, const ImVec2& b, ImU32 col) ///
///
/// /// /// Advanced: Primitives allocations /// - We render triangles (three vertices) /// - All primitives needs to be reserved via PrimReserve() beforehand. /// /// /// Fully unrolled with inline call to keep our debug builds decently fast. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PrimRect(ImDrawList* target, float2* a, float2* b, uint col); /// /// /// C++: /// imgui.h:3465 /// , /// imgui_draw.cpp:763 ///
/// void PrimRectUV(const ImVec2& a, const ImVec2& b, const ImVec2& uv_a, const ImVec2& uv_b, ImU32 col) ///
///
/// /// /// Advanced: Primitives allocations /// - We render triangles (three vertices) /// - All primitives needs to be reserved via PrimReserve() beforehand. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PrimRectUV( ImDrawList* target, float2* a, float2* b, float2* uv_a, float2* uv_b, uint col ); /// /// /// C++: /// imgui.h:3466 /// , /// imgui_draw.cpp:778 ///
/// void PrimQuadUV(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& d, const ImVec2& uv_a, const ImVec2& uv_b, const ImVec2& uv_c, const ImVec2& uv_d, ImU32 col) ///
///
/// /// /// Advanced: Primitives allocations /// - We render triangles (three vertices) /// - All primitives needs to be reserved via PrimReserve() beforehand. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PrimQuadUV( ImDrawList* target, float2* a, float2* b, float2* c, float2* d, float2* uv_a, float2* uv_b, float2* uv_c, float2* uv_d, uint col ); /// /// /// C++: /// imgui.h:3467 ///
inline void PrimWriteVtx(const ImVec2& pos, const ImVec2& uv, ImU32 col) ///
///
/// /// /// Advanced: Primitives allocations /// - We render triangles (three vertices) /// - All primitives needs to be reserved via PrimReserve() beforehand. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PrimWriteVtx( ImDrawList* target, float2* pos, float2* uv, uint col ); /// /// /// C++: /// imgui.h:3468 ///
inline void PrimWriteIdx(ImDrawIdx idx) ///
///
/// /// /// Advanced: Primitives allocations /// - We render triangles (three vertices) /// - All primitives needs to be reserved via PrimReserve() beforehand. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PrimWriteIdx(ImDrawList* target, ushort idx); /// /// /// Write vertex with unique index /// /// /// C++: /// imgui.h:3469 ///
inline void PrimVtx(const ImVec2& pos, const ImVec2& uv, ImU32 col) ///
///
/// /// /// Advanced: Primitives allocations /// - We render triangles (three vertices) /// - All primitives needs to be reserved via PrimReserve() beforehand. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PrimVtx(ImDrawList* target, float2* pos, float2* uv, uint col); /// /// /// C++: /// imgui.h:3483 /// , /// imgui_draw.cpp:434 ///
void _SetDrawListSharedData(ImDrawListSharedData* data) ///
///
/// /// /// [Internal helpers] /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_SetDrawListSharedData( ImDrawList* target, ImDrawListSharedData* data ); /// /// /// C++: /// imgui.h:3484 /// , /// imgui_draw.cpp:445 ///
void _ResetForNewFrame() ///
///
/// /// /// [Internal helpers] /// /// /// Initialize before use in a new frame. We always have a command ready in the buffer. /// In the majority of cases, you would want to call PushClipRect() and PushTexture() after this. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_ResetForNewFrame(ImDrawList* target); /// /// /// C++: /// imgui.h:3485 /// , /// imgui_draw.cpp:471 ///
void _ClearFreeMemory() ///
///
/// /// /// [Internal helpers] /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_ClearFreeMemory(ImDrawList* target); /// /// /// C++: /// imgui.h:3486 /// , /// imgui_draw.cpp:511 ///
void _PopUnusedDrawCmd() ///
///
/// /// /// [Internal helpers] /// /// /// Pop trailing draw command (used before merging or presenting to user) /// Note that this leaves the ImDrawList in a state unfit for further commands, as most code assume that CmdBuffer.Size > 0 && CmdBuffer.back().UserCallback == NULL /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PopUnusedDrawCmd(ImDrawList* target); /// /// /// C++: /// imgui.h:3487 /// , /// imgui_draw.cpp:563 ///
void _TryMergeDrawCmds() ///
///
/// /// /// [Internal helpers] /// /// /// Try to merge two last draw commands /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_TryMergeDrawCmds(ImDrawList* target); /// /// /// C++: /// imgui.h:3488 /// , /// imgui_draw.cpp:577 ///
void _OnChangedClipRect() ///
///
/// /// /// [Internal helpers] /// /// /// Our scheme may appears a bit unusual, basically we want the most-common calls AddLine AddRect etc. to not have to perform any check so we always have a command ready in the stack. /// The cost of figuring out if a new command has to be added or if we can merge is paid in those Update** functions only. /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_OnChangedClipRect(ImDrawList* target); /// /// /// C++: /// imgui.h:3489 /// , /// imgui_draw.cpp:599 ///
void _OnChangedTexture() ///
///
/// /// /// [Internal helpers] /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_OnChangedTexture(ImDrawList* target); /// /// /// C++: /// imgui.h:3490 /// , /// imgui_draw.cpp:624 ///
void _OnChangedVtxOffset() ///
///
/// /// /// [Internal helpers] /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_OnChangedVtxOffset(ImDrawList* target); /// /// /// C++: /// imgui.h:3491 /// , /// imgui_draw.cpp:699 ///
void _SetTexture(ImTextureRef tex_ref) ///
///
/// /// /// [Internal helpers] /// /// /// This is used by ImGui::PushFont()/PopFont(). It works because we never use _TextureIdStack[] /// elsewhere than in PushTexture()/PopTexture(). /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_SetTexture(ImDrawList* target, ImTextureRef tex_ref); /// /// /// C++: /// imgui.h:3492 /// , /// imgui_draw.cpp:640 ///
int _CalcCircleAutoSegmentCount(float radius) const ///
///
/// /// /// [Internal helpers] /// /// [LibraryImport("imgui")] public static unsafe partial int ImDrawList_CalcCircleAutoSegmentCount(ImDrawList* target, float radius); /// /// /// C++: /// imgui.h:3493 /// , /// imgui_draw.cpp:1141 ///
/// void _PathArcToFastEx(const ImVec2& center, float radius, int a_min_sample, int a_max_sample, int a_step) ///
///
/// /// /// [Internal helpers] /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PathArcToFastEx( ImDrawList* target, float2* center, float radius, int a_min_sample, int a_max_sample, int a_step ); /// /// /// C++: /// imgui.h:3494 /// , /// imgui_draw.cpp:1233 ///
/// void _PathArcToN(const ImVec2& center, float radius, float a_min, float a_max, int num_segments) ///
///
/// /// /// [Internal helpers] /// /// [LibraryImport("imgui")] public static unsafe partial void ImDrawList_PathArcToN( ImDrawList* target, float2* center, float radius, float a_min, float a_max, int num_segments ); } } }