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



2810
2811
2812
# File 'lib/imgui.rb', line 2810

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

Instance Method Details

#destroyObject



2822
2823
2824
# File 'lib/imgui.rb', line 2822

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