opengl-bindings2 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ChangeLog +48 -0
- data/LICENSE.txt +1 -1
- data/README.md +250 -91
- data/lib/glfw.rb +7 -2
- data/lib/glu.rb +1 -1
- data/lib/glut.rb +1 -1
- data/lib/opengl.rb +1 -1
- data/lib/opengl_common.rb +1 -1
- data/lib/opengl_es.rb +1 -1
- data/lib/opengl_es_ext.rb +1 -1
- data/lib/opengl_es_ext_command.rb +287 -23
- data/lib/opengl_es_ext_enum.rb +166 -9
- data/lib/opengl_ext.rb +1 -1
- data/lib/opengl_ext_command.rb +123 -75
- data/lib/opengl_ext_enum.rb +36 -9
- data/lib/opengl_linux.rb +1 -1
- data/lib/opengl_macosx.rb +1 -1
- data/lib/opengl_platform.rb +1 -1
- data/lib/opengl_windows.rb +1 -1
- data/sample/glfw_get.bat +3 -3
- data/sample/glfw_get.sh +3 -3
- metadata +4 -4
data/lib/opengl_ext_command.rb
CHANGED
@@ -17008,6 +17008,36 @@ module GLExt
|
|
17008
17008
|
end # self.get_ext_command_GL_EXT_framebuffer_blit
|
17009
17009
|
|
17010
17010
|
|
17011
|
+
def self.define_ext_command_GL_EXT_framebuffer_blit_layers
|
17012
|
+
GL::GL_FUNCTION_SYMBOLS << :glBlitFramebufferLayersEXT
|
17013
|
+
GL::GL_FUNCTIONS_ARGS_MAP[:glBlitFramebufferLayersEXT] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
17014
|
+
GL::GL_FUNCTIONS_RETVAL_MAP[:glBlitFramebufferLayersEXT] = Fiddle::TYPE_VOID
|
17015
|
+
GL.bind_command(:glBlitFramebufferLayersEXT)
|
17016
|
+
GL.module_eval(<<-SRC)
|
17017
|
+
def self.BlitFramebufferLayersEXT(_srcX0_, _srcY0_, _srcX1_, _srcY1_, _dstX0_, _dstY0_, _dstX1_, _dstY1_, _mask_, _filter_)
|
17018
|
+
GL_FUNCTIONS_MAP[:glBlitFramebufferLayersEXT].call(_srcX0_, _srcY0_, _srcX1_, _srcY1_, _dstX0_, _dstY0_, _dstX1_, _dstY1_, _mask_, _filter_)
|
17019
|
+
end
|
17020
|
+
SRC
|
17021
|
+
|
17022
|
+
GL::GL_FUNCTION_SYMBOLS << :glBlitFramebufferLayerEXT
|
17023
|
+
GL::GL_FUNCTIONS_ARGS_MAP[:glBlitFramebufferLayerEXT] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
17024
|
+
GL::GL_FUNCTIONS_RETVAL_MAP[:glBlitFramebufferLayerEXT] = Fiddle::TYPE_VOID
|
17025
|
+
GL.bind_command(:glBlitFramebufferLayerEXT)
|
17026
|
+
GL.module_eval(<<-SRC)
|
17027
|
+
def self.BlitFramebufferLayerEXT(_srcX0_, _srcY0_, _srcX1_, _srcY1_, _srcLayer_, _dstX0_, _dstY0_, _dstX1_, _dstY1_, _dstLayer_, _mask_, _filter_)
|
17028
|
+
GL_FUNCTIONS_MAP[:glBlitFramebufferLayerEXT].call(_srcX0_, _srcY0_, _srcX1_, _srcY1_, _srcLayer_, _dstX0_, _dstY0_, _dstX1_, _dstY1_, _dstLayer_, _mask_, _filter_)
|
17029
|
+
end
|
17030
|
+
SRC
|
17031
|
+
end # self.define_ext_command_GL_EXT_framebuffer_blit_layers
|
17032
|
+
|
17033
|
+
def self.get_ext_command_GL_EXT_framebuffer_blit_layers
|
17034
|
+
[
|
17035
|
+
'glBlitFramebufferLayersEXT',
|
17036
|
+
'glBlitFramebufferLayerEXT',
|
17037
|
+
]
|
17038
|
+
end # self.get_ext_command_GL_EXT_framebuffer_blit_layers
|
17039
|
+
|
17040
|
+
|
17011
17041
|
def self.define_ext_command_GL_EXT_framebuffer_multisample
|
17012
17042
|
GL::GL_FUNCTION_SYMBOLS << :glRenderbufferStorageMultisampleEXT
|
17013
17043
|
GL::GL_FUNCTIONS_ARGS_MAP[:glRenderbufferStorageMultisampleEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
@@ -19504,6 +19534,15 @@ module GLExt
|
|
19504
19534
|
end # self.get_ext_command_GL_EXT_shader_integer_mix
|
19505
19535
|
|
19506
19536
|
|
19537
|
+
def self.define_ext_command_GL_EXT_shader_samples_identical
|
19538
|
+
end # self.define_ext_command_GL_EXT_shader_samples_identical
|
19539
|
+
|
19540
|
+
def self.get_ext_command_GL_EXT_shader_samples_identical
|
19541
|
+
[
|
19542
|
+
]
|
19543
|
+
end # self.get_ext_command_GL_EXT_shader_samples_identical
|
19544
|
+
|
19545
|
+
|
19507
19546
|
def self.define_ext_command_GL_EXT_shadow_funcs
|
19508
19547
|
end # self.define_ext_command_GL_EXT_shadow_funcs
|
19509
19548
|
|
@@ -19987,6 +20026,15 @@ module GLExt
|
|
19987
20026
|
end # self.get_ext_command_GL_EXT_texture_sRGB_decode
|
19988
20027
|
|
19989
20028
|
|
20029
|
+
def self.define_ext_command_GL_EXT_texture_shadow_lod
|
20030
|
+
end # self.define_ext_command_GL_EXT_texture_shadow_lod
|
20031
|
+
|
20032
|
+
def self.get_ext_command_GL_EXT_texture_shadow_lod
|
20033
|
+
[
|
20034
|
+
]
|
20035
|
+
end # self.get_ext_command_GL_EXT_texture_shadow_lod
|
20036
|
+
|
20037
|
+
|
19990
20038
|
def self.define_ext_command_GL_EXT_texture_shared_exponent
|
19991
20039
|
end # self.define_ext_command_GL_EXT_texture_shared_exponent
|
19992
20040
|
|
@@ -24829,66 +24877,6 @@ module GLExt
|
|
24829
24877
|
end
|
24830
24878
|
SRC
|
24831
24879
|
|
24832
|
-
GL::GL_FUNCTION_SYMBOLS << :glFogCoordhNV
|
24833
|
-
GL::GL_FUNCTIONS_ARGS_MAP[:glFogCoordhNV] = [-Fiddle::TYPE_SHORT]
|
24834
|
-
GL::GL_FUNCTIONS_RETVAL_MAP[:glFogCoordhNV] = Fiddle::TYPE_VOID
|
24835
|
-
GL.bind_command(:glFogCoordhNV)
|
24836
|
-
GL.module_eval(<<-SRC)
|
24837
|
-
def self.FogCoordhNV(_fog_)
|
24838
|
-
GL_FUNCTIONS_MAP[:glFogCoordhNV].call(_fog_)
|
24839
|
-
end
|
24840
|
-
SRC
|
24841
|
-
|
24842
|
-
GL::GL_FUNCTION_SYMBOLS << :glFogCoordhvNV
|
24843
|
-
GL::GL_FUNCTIONS_ARGS_MAP[:glFogCoordhvNV] = [Fiddle::TYPE_VOIDP]
|
24844
|
-
GL::GL_FUNCTIONS_RETVAL_MAP[:glFogCoordhvNV] = Fiddle::TYPE_VOID
|
24845
|
-
GL.bind_command(:glFogCoordhvNV)
|
24846
|
-
GL.module_eval(<<-SRC)
|
24847
|
-
def self.FogCoordhvNV(_fog_)
|
24848
|
-
GL_FUNCTIONS_MAP[:glFogCoordhvNV].call(_fog_)
|
24849
|
-
end
|
24850
|
-
SRC
|
24851
|
-
|
24852
|
-
GL::GL_FUNCTION_SYMBOLS << :glSecondaryColor3hNV
|
24853
|
-
GL::GL_FUNCTIONS_ARGS_MAP[:glSecondaryColor3hNV] = [-Fiddle::TYPE_SHORT, -Fiddle::TYPE_SHORT, -Fiddle::TYPE_SHORT]
|
24854
|
-
GL::GL_FUNCTIONS_RETVAL_MAP[:glSecondaryColor3hNV] = Fiddle::TYPE_VOID
|
24855
|
-
GL.bind_command(:glSecondaryColor3hNV)
|
24856
|
-
GL.module_eval(<<-SRC)
|
24857
|
-
def self.SecondaryColor3hNV(_red_, _green_, _blue_)
|
24858
|
-
GL_FUNCTIONS_MAP[:glSecondaryColor3hNV].call(_red_, _green_, _blue_)
|
24859
|
-
end
|
24860
|
-
SRC
|
24861
|
-
|
24862
|
-
GL::GL_FUNCTION_SYMBOLS << :glSecondaryColor3hvNV
|
24863
|
-
GL::GL_FUNCTIONS_ARGS_MAP[:glSecondaryColor3hvNV] = [Fiddle::TYPE_VOIDP]
|
24864
|
-
GL::GL_FUNCTIONS_RETVAL_MAP[:glSecondaryColor3hvNV] = Fiddle::TYPE_VOID
|
24865
|
-
GL.bind_command(:glSecondaryColor3hvNV)
|
24866
|
-
GL.module_eval(<<-SRC)
|
24867
|
-
def self.SecondaryColor3hvNV(_v_)
|
24868
|
-
GL_FUNCTIONS_MAP[:glSecondaryColor3hvNV].call(_v_)
|
24869
|
-
end
|
24870
|
-
SRC
|
24871
|
-
|
24872
|
-
GL::GL_FUNCTION_SYMBOLS << :glVertexWeighthNV
|
24873
|
-
GL::GL_FUNCTIONS_ARGS_MAP[:glVertexWeighthNV] = [-Fiddle::TYPE_SHORT]
|
24874
|
-
GL::GL_FUNCTIONS_RETVAL_MAP[:glVertexWeighthNV] = Fiddle::TYPE_VOID
|
24875
|
-
GL.bind_command(:glVertexWeighthNV)
|
24876
|
-
GL.module_eval(<<-SRC)
|
24877
|
-
def self.VertexWeighthNV(_weight_)
|
24878
|
-
GL_FUNCTIONS_MAP[:glVertexWeighthNV].call(_weight_)
|
24879
|
-
end
|
24880
|
-
SRC
|
24881
|
-
|
24882
|
-
GL::GL_FUNCTION_SYMBOLS << :glVertexWeighthvNV
|
24883
|
-
GL::GL_FUNCTIONS_ARGS_MAP[:glVertexWeighthvNV] = [Fiddle::TYPE_VOIDP]
|
24884
|
-
GL::GL_FUNCTIONS_RETVAL_MAP[:glVertexWeighthvNV] = Fiddle::TYPE_VOID
|
24885
|
-
GL.bind_command(:glVertexWeighthvNV)
|
24886
|
-
GL.module_eval(<<-SRC)
|
24887
|
-
def self.VertexWeighthvNV(_weight_)
|
24888
|
-
GL_FUNCTIONS_MAP[:glVertexWeighthvNV].call(_weight_)
|
24889
|
-
end
|
24890
|
-
SRC
|
24891
|
-
|
24892
24880
|
GL::GL_FUNCTION_SYMBOLS << :glVertexAttrib1hNV
|
24893
24881
|
GL::GL_FUNCTIONS_ARGS_MAP[:glVertexAttrib1hNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_SHORT]
|
24894
24882
|
GL::GL_FUNCTIONS_RETVAL_MAP[:glVertexAttrib1hNV] = Fiddle::TYPE_VOID
|
@@ -25008,6 +24996,66 @@ module GLExt
|
|
25008
24996
|
GL_FUNCTIONS_MAP[:glVertexAttribs4hvNV].call(_index_, _n_, _v_)
|
25009
24997
|
end
|
25010
24998
|
SRC
|
24999
|
+
|
25000
|
+
GL::GL_FUNCTION_SYMBOLS << :glFogCoordhNV
|
25001
|
+
GL::GL_FUNCTIONS_ARGS_MAP[:glFogCoordhNV] = [-Fiddle::TYPE_SHORT]
|
25002
|
+
GL::GL_FUNCTIONS_RETVAL_MAP[:glFogCoordhNV] = Fiddle::TYPE_VOID
|
25003
|
+
GL.bind_command(:glFogCoordhNV)
|
25004
|
+
GL.module_eval(<<-SRC)
|
25005
|
+
def self.FogCoordhNV(_fog_)
|
25006
|
+
GL_FUNCTIONS_MAP[:glFogCoordhNV].call(_fog_)
|
25007
|
+
end
|
25008
|
+
SRC
|
25009
|
+
|
25010
|
+
GL::GL_FUNCTION_SYMBOLS << :glFogCoordhvNV
|
25011
|
+
GL::GL_FUNCTIONS_ARGS_MAP[:glFogCoordhvNV] = [Fiddle::TYPE_VOIDP]
|
25012
|
+
GL::GL_FUNCTIONS_RETVAL_MAP[:glFogCoordhvNV] = Fiddle::TYPE_VOID
|
25013
|
+
GL.bind_command(:glFogCoordhvNV)
|
25014
|
+
GL.module_eval(<<-SRC)
|
25015
|
+
def self.FogCoordhvNV(_fog_)
|
25016
|
+
GL_FUNCTIONS_MAP[:glFogCoordhvNV].call(_fog_)
|
25017
|
+
end
|
25018
|
+
SRC
|
25019
|
+
|
25020
|
+
GL::GL_FUNCTION_SYMBOLS << :glSecondaryColor3hNV
|
25021
|
+
GL::GL_FUNCTIONS_ARGS_MAP[:glSecondaryColor3hNV] = [-Fiddle::TYPE_SHORT, -Fiddle::TYPE_SHORT, -Fiddle::TYPE_SHORT]
|
25022
|
+
GL::GL_FUNCTIONS_RETVAL_MAP[:glSecondaryColor3hNV] = Fiddle::TYPE_VOID
|
25023
|
+
GL.bind_command(:glSecondaryColor3hNV)
|
25024
|
+
GL.module_eval(<<-SRC)
|
25025
|
+
def self.SecondaryColor3hNV(_red_, _green_, _blue_)
|
25026
|
+
GL_FUNCTIONS_MAP[:glSecondaryColor3hNV].call(_red_, _green_, _blue_)
|
25027
|
+
end
|
25028
|
+
SRC
|
25029
|
+
|
25030
|
+
GL::GL_FUNCTION_SYMBOLS << :glSecondaryColor3hvNV
|
25031
|
+
GL::GL_FUNCTIONS_ARGS_MAP[:glSecondaryColor3hvNV] = [Fiddle::TYPE_VOIDP]
|
25032
|
+
GL::GL_FUNCTIONS_RETVAL_MAP[:glSecondaryColor3hvNV] = Fiddle::TYPE_VOID
|
25033
|
+
GL.bind_command(:glSecondaryColor3hvNV)
|
25034
|
+
GL.module_eval(<<-SRC)
|
25035
|
+
def self.SecondaryColor3hvNV(_v_)
|
25036
|
+
GL_FUNCTIONS_MAP[:glSecondaryColor3hvNV].call(_v_)
|
25037
|
+
end
|
25038
|
+
SRC
|
25039
|
+
|
25040
|
+
GL::GL_FUNCTION_SYMBOLS << :glVertexWeighthNV
|
25041
|
+
GL::GL_FUNCTIONS_ARGS_MAP[:glVertexWeighthNV] = [-Fiddle::TYPE_SHORT]
|
25042
|
+
GL::GL_FUNCTIONS_RETVAL_MAP[:glVertexWeighthNV] = Fiddle::TYPE_VOID
|
25043
|
+
GL.bind_command(:glVertexWeighthNV)
|
25044
|
+
GL.module_eval(<<-SRC)
|
25045
|
+
def self.VertexWeighthNV(_weight_)
|
25046
|
+
GL_FUNCTIONS_MAP[:glVertexWeighthNV].call(_weight_)
|
25047
|
+
end
|
25048
|
+
SRC
|
25049
|
+
|
25050
|
+
GL::GL_FUNCTION_SYMBOLS << :glVertexWeighthvNV
|
25051
|
+
GL::GL_FUNCTIONS_ARGS_MAP[:glVertexWeighthvNV] = [Fiddle::TYPE_VOIDP]
|
25052
|
+
GL::GL_FUNCTIONS_RETVAL_MAP[:glVertexWeighthvNV] = Fiddle::TYPE_VOID
|
25053
|
+
GL.bind_command(:glVertexWeighthvNV)
|
25054
|
+
GL.module_eval(<<-SRC)
|
25055
|
+
def self.VertexWeighthvNV(_weight_)
|
25056
|
+
GL_FUNCTIONS_MAP[:glVertexWeighthvNV].call(_weight_)
|
25057
|
+
end
|
25058
|
+
SRC
|
25011
25059
|
end # self.define_ext_command_GL_NV_half_float
|
25012
25060
|
|
25013
25061
|
def self.get_ext_command_GL_NV_half_float
|
@@ -25040,12 +25088,6 @@ module GLExt
|
|
25040
25088
|
'glMultiTexCoord3hvNV',
|
25041
25089
|
'glMultiTexCoord4hNV',
|
25042
25090
|
'glMultiTexCoord4hvNV',
|
25043
|
-
'glFogCoordhNV',
|
25044
|
-
'glFogCoordhvNV',
|
25045
|
-
'glSecondaryColor3hNV',
|
25046
|
-
'glSecondaryColor3hvNV',
|
25047
|
-
'glVertexWeighthNV',
|
25048
|
-
'glVertexWeighthvNV',
|
25049
25091
|
'glVertexAttrib1hNV',
|
25050
25092
|
'glVertexAttrib1hvNV',
|
25051
25093
|
'glVertexAttrib2hNV',
|
@@ -25058,6 +25100,12 @@ module GLExt
|
|
25058
25100
|
'glVertexAttribs2hvNV',
|
25059
25101
|
'glVertexAttribs3hvNV',
|
25060
25102
|
'glVertexAttribs4hvNV',
|
25103
|
+
'glFogCoordhNV',
|
25104
|
+
'glFogCoordhvNV',
|
25105
|
+
'glSecondaryColor3hNV',
|
25106
|
+
'glSecondaryColor3hvNV',
|
25107
|
+
'glVertexWeighthNV',
|
25108
|
+
'glVertexWeighthvNV',
|
25061
25109
|
]
|
25062
25110
|
end # self.get_ext_command_GL_NV_half_float
|
25063
25111
|
|
@@ -27910,6 +27958,15 @@ module GLExt
|
|
27910
27958
|
end # self.get_ext_command_GL_NV_transform_feedback2
|
27911
27959
|
|
27912
27960
|
|
27961
|
+
def self.define_ext_command_GL_NV_uniform_buffer_std430_layout
|
27962
|
+
end # self.define_ext_command_GL_NV_uniform_buffer_std430_layout
|
27963
|
+
|
27964
|
+
def self.get_ext_command_GL_NV_uniform_buffer_std430_layout
|
27965
|
+
[
|
27966
|
+
]
|
27967
|
+
end # self.get_ext_command_GL_NV_uniform_buffer_std430_layout
|
27968
|
+
|
27969
|
+
|
27913
27970
|
def self.define_ext_command_GL_NV_uniform_buffer_unified_memory
|
27914
27971
|
end # self.define_ext_command_GL_NV_uniform_buffer_unified_memory
|
27915
27972
|
|
@@ -33319,13 +33376,4 @@ module GLExt
|
|
33319
33376
|
end # self.get_ext_command_GL_WIN_specular_fog
|
33320
33377
|
|
33321
33378
|
|
33322
|
-
def self.define_ext_command_GL_EXT_texture_shadow_lod
|
33323
|
-
end # self.define_ext_command_GL_EXT_texture_shadow_lod
|
33324
|
-
|
33325
|
-
def self.get_ext_command_GL_EXT_texture_shadow_lod
|
33326
|
-
[
|
33327
|
-
]
|
33328
|
-
end # self.get_ext_command_GL_EXT_texture_shadow_lod
|
33329
|
-
|
33330
|
-
|
33331
33379
|
end
|
data/lib/opengl_ext_enum.rb
CHANGED
@@ -6288,6 +6288,15 @@ module GLExt
|
|
6288
6288
|
end # self.get_ext_enum_GL_EXT_framebuffer_blit
|
6289
6289
|
|
6290
6290
|
|
6291
|
+
def self.define_ext_enum_GL_EXT_framebuffer_blit_layers
|
6292
|
+
end # self.define_ext_enum_GL_EXT_framebuffer_blit_layers
|
6293
|
+
|
6294
|
+
def self.get_ext_enum_GL_EXT_framebuffer_blit_layers
|
6295
|
+
[
|
6296
|
+
]
|
6297
|
+
end # self.get_ext_enum_GL_EXT_framebuffer_blit_layers
|
6298
|
+
|
6299
|
+
|
6291
6300
|
def self.define_ext_enum_GL_EXT_framebuffer_multisample
|
6292
6301
|
GL.const_set('RENDERBUFFER_SAMPLES_EXT', 0x8CAB) unless defined?(GL::RENDERBUFFER_SAMPLES_EXT)
|
6293
6302
|
GL.const_set('FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT', 0x8D56) unless defined?(GL::FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT)
|
@@ -7365,6 +7374,15 @@ module GLExt
|
|
7365
7374
|
end # self.get_ext_enum_GL_EXT_shader_integer_mix
|
7366
7375
|
|
7367
7376
|
|
7377
|
+
def self.define_ext_enum_GL_EXT_shader_samples_identical
|
7378
|
+
end # self.define_ext_enum_GL_EXT_shader_samples_identical
|
7379
|
+
|
7380
|
+
def self.get_ext_enum_GL_EXT_shader_samples_identical
|
7381
|
+
[
|
7382
|
+
]
|
7383
|
+
end # self.get_ext_enum_GL_EXT_shader_samples_identical
|
7384
|
+
|
7385
|
+
|
7368
7386
|
def self.define_ext_enum_GL_EXT_shadow_funcs
|
7369
7387
|
end # self.define_ext_enum_GL_EXT_shadow_funcs
|
7370
7388
|
|
@@ -8036,6 +8054,15 @@ module GLExt
|
|
8036
8054
|
end # self.get_ext_enum_GL_EXT_texture_sRGB_decode
|
8037
8055
|
|
8038
8056
|
|
8057
|
+
def self.define_ext_enum_GL_EXT_texture_shadow_lod
|
8058
|
+
end # self.define_ext_enum_GL_EXT_texture_shadow_lod
|
8059
|
+
|
8060
|
+
def self.get_ext_enum_GL_EXT_texture_shadow_lod
|
8061
|
+
[
|
8062
|
+
]
|
8063
|
+
end # self.get_ext_enum_GL_EXT_texture_shadow_lod
|
8064
|
+
|
8065
|
+
|
8039
8066
|
def self.define_ext_enum_GL_EXT_texture_shared_exponent
|
8040
8067
|
GL.const_set('RGB9_E5_EXT', 0x8C3D) unless defined?(GL::RGB9_E5_EXT)
|
8041
8068
|
GL.const_set('UNSIGNED_INT_5_9_9_9_REV_EXT', 0x8C3E) unless defined?(GL::UNSIGNED_INT_5_9_9_9_REV_EXT)
|
@@ -12241,6 +12268,15 @@ module GLExt
|
|
12241
12268
|
end # self.get_ext_enum_GL_NV_transform_feedback2
|
12242
12269
|
|
12243
12270
|
|
12271
|
+
def self.define_ext_enum_GL_NV_uniform_buffer_std430_layout
|
12272
|
+
end # self.define_ext_enum_GL_NV_uniform_buffer_std430_layout
|
12273
|
+
|
12274
|
+
def self.get_ext_enum_GL_NV_uniform_buffer_std430_layout
|
12275
|
+
[
|
12276
|
+
]
|
12277
|
+
end # self.get_ext_enum_GL_NV_uniform_buffer_std430_layout
|
12278
|
+
|
12279
|
+
|
12244
12280
|
def self.define_ext_enum_GL_NV_uniform_buffer_unified_memory
|
12245
12281
|
GL.const_set('UNIFORM_BUFFER_UNIFIED_NV', 0x936E) unless defined?(GL::UNIFORM_BUFFER_UNIFIED_NV)
|
12246
12282
|
GL.const_set('UNIFORM_BUFFER_ADDRESS_NV', 0x936F) unless defined?(GL::UNIFORM_BUFFER_ADDRESS_NV)
|
@@ -14125,13 +14161,4 @@ module GLExt
|
|
14125
14161
|
end # self.get_ext_enum_GL_WIN_specular_fog
|
14126
14162
|
|
14127
14163
|
|
14128
|
-
def self.define_ext_enum_GL_EXT_texture_shadow_lod
|
14129
|
-
end # self.define_ext_enum_GL_EXT_texture_shadow_lod
|
14130
|
-
|
14131
|
-
def self.get_ext_enum_GL_EXT_texture_shadow_lod
|
14132
|
-
[
|
14133
|
-
]
|
14134
|
-
end # self.get_ext_enum_GL_EXT_texture_shadow_lod
|
14135
|
-
|
14136
|
-
|
14137
14164
|
end
|
data/lib/opengl_linux.rb
CHANGED
@@ -40,7 +40,7 @@ end
|
|
40
40
|
|
41
41
|
=begin
|
42
42
|
Ruby-OpenGL : Yet another OpenGL wrapper for Ruby (and wrapper code generator)
|
43
|
-
Copyright (c) 2013-
|
43
|
+
Copyright (c) 2013-2024 vaiorabbit <http://twitter.com/vaiorabbit>
|
44
44
|
|
45
45
|
This software is provided 'as-is', without any express or implied
|
46
46
|
warranty. In no event will the authors be held liable for any damages
|
data/lib/opengl_macosx.rb
CHANGED
@@ -45,7 +45,7 @@ end
|
|
45
45
|
|
46
46
|
=begin
|
47
47
|
Ruby-OpenGL : Yet another OpenGL wrapper for Ruby (and wrapper code generator)
|
48
|
-
Copyright (c) 2013-
|
48
|
+
Copyright (c) 2013-2024 vaiorabbit <http://twitter.com/vaiorabbit>
|
49
49
|
|
50
50
|
This software is provided 'as-is', without any express or implied
|
51
51
|
warranty. In no event will the authors be held liable for any damages
|
data/lib/opengl_platform.rb
CHANGED
@@ -20,7 +20,7 @@ end
|
|
20
20
|
|
21
21
|
=begin
|
22
22
|
Ruby-OpenGL : Yet another OpenGL wrapper for Ruby (and wrapper code generator)
|
23
|
-
Copyright (c) 2013-
|
23
|
+
Copyright (c) 2013-2024 vaiorabbit <http://twitter.com/vaiorabbit>
|
24
24
|
|
25
25
|
This software is provided 'as-is', without any express or implied
|
26
26
|
warranty. In no event will the authors be held liable for any damages
|
data/lib/opengl_windows.rb
CHANGED
@@ -48,7 +48,7 @@ end
|
|
48
48
|
|
49
49
|
=begin
|
50
50
|
Ruby-OpenGL : Yet another OpenGL wrapper for Ruby (and wrapper code generator)
|
51
|
-
Copyright (c) 2013-
|
51
|
+
Copyright (c) 2013-2024 vaiorabbit <http://twitter.com/vaiorabbit>
|
52
52
|
|
53
53
|
This software is provided 'as-is', without any express or implied
|
54
54
|
warranty. In no event will the authors be held liable for any damages
|
data/sample/glfw_get.bat
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
@echo off
|
2
2
|
setlocal EnableDelayedExpansion
|
3
3
|
|
4
|
-
curl -O -L https://github.com/glfw/glfw/releases/download/3.3.
|
5
|
-
%WINDIR%\System32\tar.exe -xf glfw-3.3.
|
6
|
-
xcopy /Y glfw-3.3.
|
4
|
+
curl -O -L https://github.com/glfw/glfw/releases/download/3.3.9/glfw-3.3.9.bin.WIN64.zip
|
5
|
+
%WINDIR%\System32\tar.exe -xf glfw-3.3.9.bin.WIN64.zip
|
6
|
+
xcopy /Y glfw-3.3.9.bin.WIN64\lib-mingw-w64\glfw3.dll .
|
data/sample/glfw_get.sh
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
curl -O -L https://github.com/glfw/glfw/releases/download/3.3.
|
2
|
-
tar -xf glfw-3.3.
|
3
|
-
cp glfw-3.3.
|
1
|
+
curl -O -L https://github.com/glfw/glfw/releases/download/3.3.9/glfw-3.3.9.bin.MACOS.zip
|
2
|
+
tar -xf glfw-3.3.9.bin.MACOS.zip
|
3
|
+
cp glfw-3.3.9.bin.MACOS/lib-universal/libglfw.3.dylib ./libglfw.dylib
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opengl-bindings2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vaiorabbit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: 'Ruby bindings for OpenGL - 4.6, OpenGL ES - 3.2 and all extensions using
|
14
14
|
Fiddle (For MRI >= 2.4.0). GLFW/GLUT/GLU bindings are also available.
|
@@ -68,8 +68,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
requirements: []
|
71
|
-
rubygems_version: 3.
|
71
|
+
rubygems_version: 3.5.3
|
72
72
|
signing_key:
|
73
73
|
specification_version: 4
|
74
|
-
summary: Bindings for OpenGL
|
74
|
+
summary: Bindings for OpenGL/GLFW/GLUT/GLU
|
75
75
|
test_files: []
|