Class: ImDrawData
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- ImDrawData
- Defined in:
- lib/imgui.rb,
lib/imgui.rb
Overview
All draw data to render a Dear ImGui frame (NB: the style and the naming convention here is a little inconsistent, we currently preserve them for backward compatibility purpose, as this is one of the oldest structure exposed by the library! Basically, ImDrawList == CmdList)
Class Method Summary collapse
Instance Method Summary collapse
- #AddDrawList(draw_list) ⇒ Object
- #Clear ⇒ Object
- #DeIndexAllBuffers ⇒ Object
- #destroy ⇒ Object
- #ScaleClipRects(fb_scale) ⇒ Object
Class Method Details
.create ⇒ Object
1790 1791 1792 |
# File 'lib/imgui.rb', line 1790 def self.create() return ImDrawData.new(ImGui::ImDrawData_ImDrawData()) end |
Instance Method Details
#AddDrawList(draw_list) ⇒ Object
1778 1779 1780 |
# File 'lib/imgui.rb', line 1778 def AddDrawList(draw_list) ImGui::ImDrawData_AddDrawList(self, draw_list) end |
#Clear ⇒ Object
1782 1783 1784 |
# File 'lib/imgui.rb', line 1782 def Clear() ImGui::ImDrawData_Clear(self) end |
#DeIndexAllBuffers ⇒ Object
1786 1787 1788 |
# File 'lib/imgui.rb', line 1786 def DeIndexAllBuffers() ImGui::ImDrawData_DeIndexAllBuffers(self) end |
#destroy ⇒ Object
1798 1799 1800 |
# File 'lib/imgui.rb', line 1798 def destroy() ImGui::ImDrawData_destroy(self) end |
#ScaleClipRects(fb_scale) ⇒ Object
1794 1795 1796 |
# File 'lib/imgui.rb', line 1794 def ScaleClipRects(fb_scale) ImGui::ImDrawData_ScaleClipRects(self, fb_scale) end |