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

35 lines
2.1 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#L782">imgui.h:782</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L7917">imgui_widgets.cpp:7917</see>
/// <br/><c>void SetNextItemSelectionUserData(ImGuiSelectionUserData selection_user_data)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Multi-selection system for Selectable(), Checkbox(), TreeNode() functions [BETA]
/// - This enables standard multi-selection/range-selection idioms (CTRL+Mouse/Keyboard, SHIFT+Mouse/Keyboard, etc.) in a way that also allow a clipper to be used.
/// - ImGuiSelectionUserData is often used to store your item index within the current view (but may store something else).
/// - Read comments near ImGuiMultiSelectIO for instructions/details and see 'Demo-&gt;Widgets-&gt;Selection State &amp; Multi-Select' for demo.
/// - TreeNode() is technically supported but... using this correctly is more complicated. You need some sort of linear/random access to your tree,
/// which is suited to advanced trees setups already implementing filters and clipper. We will work simplifying the current demo.
/// - 'selection_size' and 'items_count' parameters are optional and used by a few features. If they are costly for you to compute, you may avoid them.
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial void SetNextItemSelectionUserData(ulong selection_user_data);
}
}
}