Class: ImDrawListSplitter
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- ImDrawListSplitter
- Defined in:
- lib/imgui.rb
Overview
Split/Merge functions are used to split the draw list into different layers which can be drawn into out of order. This is used by the Columns/Tables API, so items of each column can be batched together in a same draw call.
Class Method Summary collapse
Instance Method Summary collapse
- #Clear ⇒ Object
- #ClearFreeMemory ⇒ Object
- #destroy ⇒ Object
- #Merge(draw_list) ⇒ Object
- #SetCurrentChannel(draw_list, channel_idx) ⇒ Object
- #Split(draw_list, count) ⇒ Object
Class Method Details
.create ⇒ Object
901 902 903 |
# File 'lib/imgui.rb', line 901 def self.create() return ImDrawListSplitter.new(ImGui::ImDrawListSplitter_ImDrawListSplitter()) end |
Instance Method Details
#Clear ⇒ Object
893 894 895 |
# File 'lib/imgui.rb', line 893 def Clear() ImGui::ImDrawListSplitter_Clear(self) end |
#ClearFreeMemory ⇒ Object
897 898 899 |
# File 'lib/imgui.rb', line 897 def ClearFreeMemory() ImGui::ImDrawListSplitter_ClearFreeMemory(self) end |
#destroy ⇒ Object
917 918 919 |
# File 'lib/imgui.rb', line 917 def destroy() ImGui::ImDrawListSplitter_destroy(self) end |
#Merge(draw_list) ⇒ Object
905 906 907 |
# File 'lib/imgui.rb', line 905 def Merge(draw_list) ImGui::ImDrawListSplitter_Merge(self, draw_list) end |
#SetCurrentChannel(draw_list, channel_idx) ⇒ Object
909 910 911 |
# File 'lib/imgui.rb', line 909 def SetCurrentChannel(draw_list, channel_idx) ImGui::ImDrawListSplitter_SetCurrentChannel(self, draw_list, channel_idx) end |
#Split(draw_list, count) ⇒ Object
913 914 915 |
# File 'lib/imgui.rb', line 913 def Split(draw_list, count) ImGui::ImDrawListSplitter_Split(self, draw_list, count) end |