Class: ImGuiTableSortSpecs
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- ImGuiTableSortSpecs
- 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!
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.create ⇒ Object
2644 2645 2646 |
# File 'lib/imgui.rb', line 2644 def self.create() return ImGuiTableSortSpecs.new(ImGui::ImGuiTableSortSpecs_ImGuiTableSortSpecs()) end |
Instance Method Details
#destroy ⇒ Object
2648 2649 2650 |
# File 'lib/imgui.rb', line 2648 def destroy() ImGui::ImGuiTableSortSpecs_destroy(self) end |