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



2663
2664
2665
# File 'lib/imgui.rb', line 2663

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

Instance Method Details

#destroyObject



2675
2676
2677
# File 'lib/imgui.rb', line 2675

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