Class: ImGuiTableSortSpecs

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/imgui.rb

Overview

Sorting specifications for a table (often handling sort specs for a single column, occasionally more) Obtained by calling TableGetSortSpecs(). When ‘SpecsDirty == true’ you can sort your data. It will be true with 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!