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!

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.createObject



2527
2528
2529
# File 'lib/imgui.rb', line 2527

def self.create()
  return ImGuiTableSortSpecs.new(ImGui::ImGuiTableSortSpecs_ImGuiTableSortSpecs())
end

Instance Method Details

#destroyObject



2531
2532
2533
# File 'lib/imgui.rb', line 2531

def destroy()
  ImGui::ImGuiTableSortSpecs_destroy(self)
end