//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
public partial class ImGui
{
public unsafe partial class PInvoke
{
///
///
/// 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().
///
///
/// C++:
/// imgui.h:931
/// ,
/// imgui_tables.cpp:2880
///
ImGuiTableSortSpecs* TableGetSortSpecs()
///
///
///
///
/// 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.
///
///
/// 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()!
///
///
[LibraryImport("imgui")]
public static unsafe partial ImGuiTableSortSpecs* TableGetSortSpecs();
}
}
}