Class: ImGuiStoragePair

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

Overview

Internal

Key+Value for ImGuiStorage

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.create(_key, _val) ⇒ Object



2816
2817
2818
# File 'lib/imgui.rb', line 2816

def self.create(_key, _val)
  return ImGuiStoragePair.new(ImGui::ImGuiStoragePair_ImGuiStoragePair_Int(_key, _val))
end

Instance Method Details

#destroyObject



2828
2829
2830
# File 'lib/imgui.rb', line 2828

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