imgui-bindings 0.1.7 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +13 -0
- data/README.md +1 -1
- data/lib/imgui.aarch64.so +0 -0
- data/lib/imgui.dll +0 -0
- data/lib/imgui.dylib +0 -0
- data/lib/imgui.rb +1213 -543
- data/lib/imgui.x86_64.so +0 -0
- data/lib/imgui_impl_opengl2.rb +1 -1
- data/lib/imgui_impl_opengl3.rb +1 -1
- data/lib/imgui_impl_raylib.rb +1 -1
- data/lib/imgui_impl_sdlrenderer.rb +1 -1
- data/lib/imnodes.aarch64.so +0 -0
- data/lib/imnodes.dll +0 -0
- data/lib/imnodes.dylib +0 -0
- data/lib/imnodes.x86_64.so +0 -0
- metadata +3 -3
data/lib/imgui.x86_64.so
CHANGED
Binary file
|
data/lib/imgui_impl_opengl2.rb
CHANGED
@@ -55,7 +55,7 @@ module ImGui
|
|
55
55
|
|
56
56
|
# Render command lists
|
57
57
|
draw_data[:CmdListsCount].times do |n|
|
58
|
-
cmd_list = ImDrawList.new((draw_data[:CmdLists]
|
58
|
+
cmd_list = ImDrawList.new((draw_data[:CmdLists][:Data] + 8 * n).read_pointer) # 8 == const ImDrawList*
|
59
59
|
vtx_buffer = ImDrawVert.new(cmd_list[:VtxBuffer][:Data]) # const ImDrawVert*
|
60
60
|
idx_buffer = cmd_list[:IdxBuffer][:Data] # const ImDrawIdx*
|
61
61
|
GL.VertexPointer(2, GL::FLOAT, ImDrawVert.size, Fiddle::Pointer.new((cmd_list[:VtxBuffer][:Data] + vtx_buffer.offset_of(:pos))) )
|
data/lib/imgui_impl_opengl3.rb
CHANGED
@@ -139,7 +139,7 @@ module ImGui
|
|
139
139
|
# Render command lists
|
140
140
|
draw_data[:CmdListsCount].times do |n|
|
141
141
|
|
142
|
-
cmd_list = ImDrawList.new((draw_data[:CmdLists]
|
142
|
+
cmd_list = ImDrawList.new((draw_data[:CmdLists][:Data] + 8 * n).read_pointer) # 8 == const ImDrawList*
|
143
143
|
# vtx_buffer = ImDrawVert.new(cmd_list[:VtxBuffer][:Data]) # const ImDrawVert*
|
144
144
|
# idx_buffer = cmd_list[:IdxBuffer][:Data] # const ImDrawIdx*
|
145
145
|
|
data/lib/imgui_impl_raylib.rb
CHANGED
@@ -393,7 +393,7 @@ module ImGui
|
|
393
393
|
|
394
394
|
clip_offset = draw_data[:DisplayPos]
|
395
395
|
draw_data[:CmdListsCount].times do |n|
|
396
|
-
cmd_list = ImDrawList.new((draw_data[:CmdLists]
|
396
|
+
cmd_list = ImDrawList.new((draw_data[:CmdLists][:Data] + FFI.type_size(:pointer) * n).read_pointer)
|
397
397
|
vtx_buffer = cmd_list[:VtxBuffer][:Data] # const ImDrawVert*
|
398
398
|
idx_buffer = cmd_list[:IdxBuffer][:Data] # const ImDrawIdx*
|
399
399
|
|
@@ -99,7 +99,7 @@ module ImGui
|
|
99
99
|
# Render command lists
|
100
100
|
ImplSDLRenderer_SetupRenderState()
|
101
101
|
draw_data[:CmdListsCount].times do |n|
|
102
|
-
cmd_list = ImDrawList.new((draw_data[:CmdLists]
|
102
|
+
cmd_list = ImDrawList.new((draw_data[:CmdLists][:Data] + FFI.type_size(:pointer) * n).read_pointer)
|
103
103
|
vtx_buffer = cmd_list[:VtxBuffer][:Data] # const ImDrawVert*
|
104
104
|
idx_buffer = cmd_list[:IdxBuffer][:Data] # const ImDrawIdx*
|
105
105
|
|
data/lib/imnodes.aarch64.so
CHANGED
Binary file
|
data/lib/imnodes.dll
CHANGED
Binary file
|
data/lib/imnodes.dylib
CHANGED
Binary file
|
data/lib/imnodes.x86_64.so
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: imgui-bindings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vaiorabbit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: '0'
|
88
88
|
requirements: []
|
89
|
-
rubygems_version: 3.4.
|
89
|
+
rubygems_version: 3.4.20
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
92
|
summary: Bindings for Dear ImGui
|