mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
45 lines
2.4 KiB
C#
45 lines
2.4 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>
|
|
/// get latest sort specs for the table (NULL if not sorting). Lifetime: don't hold on this pointer
|
|
/// over multiple frames or past any subsequent call to BeginTable().
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L931">imgui.h:931</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_tables.cpp#L2880">imgui_tables.cpp:2880</see>
|
|
/// <br/><c>ImGuiTableSortSpecs* TableGetSortSpecs()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Tables: Sorting & Miscellaneous functions
|
|
/// - Sorting: call TableGetSortSpecs() to retrieve latest sort specs for the table. NULL when not sorting.
|
|
/// When 'sort_specs->SpecsDirty == true' you should sort your data. It will be true when sorting specs have
|
|
/// changed since last call, or the first time. Make sure to set 'SpecsDirty = false' after sorting,
|
|
/// else you may wastefully sort your data every frame!
|
|
/// - Functions args 'int column_n' treat the default value of -1 as the same as passing the current column index.
|
|
/// </code>
|
|
/// <code>
|
|
/// Return NULL if no sort specs (most often when ImGuiTableFlags_Sortable is not set)
|
|
/// When 'sort_specs->SpecsDirty == true' you should sort your data. It will be true when sorting specs have
|
|
/// changed since last call, or the first time. Make sure to set 'SpecsDirty = false' after sorting,
|
|
/// else you may wastefully sort your data every frame!
|
|
/// Lifetime: don't hold on this pointer over multiple frames or past any subsequent call to BeginTable()!
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial ImGuiTableSortSpecs* TableGetSortSpecs();
|
|
}
|
|
}
|
|
}
|