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
1013 1014 1015 |
# File 'lib/imgui.rb', line 1013 def self.create() return ImDrawListSplitter.new(ImGui::ImDrawListSplitter_ImDrawListSplitter()) end |
Instance Method Details
#Clear ⇒ Object
1005 1006 1007 |
# File 'lib/imgui.rb', line 1005 def Clear() ImGui::ImDrawListSplitter_Clear(self) end |
#ClearFreeMemory ⇒ Object
1009 1010 1011 |
# File 'lib/imgui.rb', line 1009 def ClearFreeMemory() ImGui::ImDrawListSplitter_ClearFreeMemory(self) end |
#destroy ⇒ Object
1029 1030 1031 |
# File 'lib/imgui.rb', line 1029 def destroy() ImGui::ImDrawListSplitter_destroy(self) end |
#Merge(draw_list) ⇒ Object
1017 1018 1019 |
# File 'lib/imgui.rb', line 1017 def Merge(draw_list) ImGui::ImDrawListSplitter_Merge(self, draw_list) end |
#SetCurrentChannel(draw_list, channel_idx) ⇒ Object
1021 1022 1023 |
# File 'lib/imgui.rb', line 1021 def SetCurrentChannel(draw_list, channel_idx) ImGui::ImDrawListSplitter_SetCurrentChannel(self, draw_list, channel_idx) end |
#Split(draw_list, count) ⇒ Object
1025 1026 1027 |
# File 'lib/imgui.rb', line 1025 def Split(draw_list, count) ImGui::ImDrawListSplitter_Split(self, draw_list, count) end |