//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
public unsafe partial class PInvoke
{
///
///
/// C++:
/// imgui_internal.h:3457
/// ,
/// imgui.cpp:4864
///
bool ItemHoverable(const ImRect& bb, ImGuiID id, ImGuiItemFlags item_flags)
///
///
///
///
/// Basic Helpers for widget code
///
///
/// Internal facing ItemHoverable() used when submitting widgets. THIS IS A SUBMISSION NOT A HOVER CHECK.
/// Returns whether the item was hovered, logic differs slightly from IsItemHovered().
/// (this does not rely on LastItemData it can be called from a ButtonBehavior() call not following an ItemAdd() call)
/// FIXME-LEGACY: the 'ImGuiItemFlags item_flags' parameter was added on 2023-06-28.
/// If you used this in your legacy/custom widgets code:
/// - Commonly: if your ItemHoverable() call comes after an ItemAdd() call: pass 'item_flags = g.LastItemData.ItemFlags'.
/// - Rare: otherwise you may pass 'item_flags = 0' (ImGuiItemFlags_None) unless you want to benefit from special behavior handled by ItemHoverable.
///
///
[LibraryImport("imgui")]
public static unsafe partial Bool8 ItemHoverable_internal(floatRect* bb, ImGuiID id, ImGuiItemFlags item_flags);
}
}