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
2281 2282 2283 |
# File 'lib/imgui.rb', line 2281 def self.create() return ImGuiTableSortSpecs.new(ImGui::ImGuiTableSortSpecs_ImGuiTableSortSpecs()) end |
Instance Method Details
#destroy ⇒ Object
2285 2286 2287 |
# File 'lib/imgui.rb', line 2285 def destroy() ImGui::ImGuiTableSortSpecs_destroy(self) end |