//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.InteropServices;
namespace Brutal.ImGuiApi
{
///
///
/// C++:
/// imgui.h:3221
///
typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd)
///
///
///
///
/// ImDrawCallback: Draw callbacks for advanced uses [configurable type: override in imconfig.h]
/// NB: You most likely do NOT need to use draw callbacks just to create your own widget or customized UI rendering,
/// you can poke into the draw list for that! Draw callback may be useful for example to:
/// A) Change your GPU render state,
/// B) render a complex 3D scene inside a UI element without an intermediate texture/render target, etc.
/// The expected behavior from your rendering function is 'if (cmd.UserCallback != NULL) { cmd.UserCallback(parent_list, cmd); } else { RenderTriangles() }'
/// If you want to override the signature of ImDrawCallback, you can simply use e.g. '#define ImDrawCallback MyDrawCallback' (in imconfig.h) + update rendering backend accordingly.
///
///
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public unsafe delegate void ImDrawCallback(ImDrawList* parent_list, ImDrawCmd* cmd);
}