opengl-bindings2 2.0.1 → 2.0.3
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 +20 -0
- data/LICENSE.txt +1 -1
- data/README.md +89 -45
- data/lib/glfw.rb +81 -21
- data/lib/glfw33.rb +704 -0
- data/lib/glu.rb +1 -1
- data/lib/glut.rb +1 -1
- data/lib/opengl.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 +223 -9
- data/lib/opengl_es_ext_enum.rb +100 -9
- data/lib/opengl_ext.rb +1 -1
- data/lib/opengl_ext_command.rb +125 -75
- data/lib/opengl_ext_enum.rb +27 -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 +20 -8
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]
|
@@ -19996,6 +20026,15 @@ module GLExt
|
|
19996
20026
|
end # self.get_ext_command_GL_EXT_texture_sRGB_decode
|
19997
20027
|
|
19998
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
|
+
|
19999
20038
|
def self.define_ext_command_GL_EXT_texture_shared_exponent
|
20000
20039
|
end # self.define_ext_command_GL_EXT_texture_shared_exponent
|
20001
20040
|
|
@@ -24838,66 +24877,6 @@ module GLExt
|
|
24838
24877
|
end
|
24839
24878
|
SRC
|
24840
24879
|
|
24841
|
-
GL::GL_FUNCTION_SYMBOLS << :glFogCoordhNV
|
24842
|
-
GL::GL_FUNCTIONS_ARGS_MAP[:glFogCoordhNV] = [-Fiddle::TYPE_SHORT]
|
24843
|
-
GL::GL_FUNCTIONS_RETVAL_MAP[:glFogCoordhNV] = Fiddle::TYPE_VOID
|
24844
|
-
GL.bind_command(:glFogCoordhNV)
|
24845
|
-
GL.module_eval(<<-SRC)
|
24846
|
-
def self.FogCoordhNV(_fog_)
|
24847
|
-
GL_FUNCTIONS_MAP[:glFogCoordhNV].call(_fog_)
|
24848
|
-
end
|
24849
|
-
SRC
|
24850
|
-
|
24851
|
-
GL::GL_FUNCTION_SYMBOLS << :glFogCoordhvNV
|
24852
|
-
GL::GL_FUNCTIONS_ARGS_MAP[:glFogCoordhvNV] = [Fiddle::TYPE_VOIDP]
|
24853
|
-
GL::GL_FUNCTIONS_RETVAL_MAP[:glFogCoordhvNV] = Fiddle::TYPE_VOID
|
24854
|
-
GL.bind_command(:glFogCoordhvNV)
|
24855
|
-
GL.module_eval(<<-SRC)
|
24856
|
-
def self.FogCoordhvNV(_fog_)
|
24857
|
-
GL_FUNCTIONS_MAP[:glFogCoordhvNV].call(_fog_)
|
24858
|
-
end
|
24859
|
-
SRC
|
24860
|
-
|
24861
|
-
GL::GL_FUNCTION_SYMBOLS << :glSecondaryColor3hNV
|
24862
|
-
GL::GL_FUNCTIONS_ARGS_MAP[:glSecondaryColor3hNV] = [-Fiddle::TYPE_SHORT, -Fiddle::TYPE_SHORT, -Fiddle::TYPE_SHORT]
|
24863
|
-
GL::GL_FUNCTIONS_RETVAL_MAP[:glSecondaryColor3hNV] = Fiddle::TYPE_VOID
|
24864
|
-
GL.bind_command(:glSecondaryColor3hNV)
|
24865
|
-
GL.module_eval(<<-SRC)
|
24866
|
-
def self.SecondaryColor3hNV(_red_, _green_, _blue_)
|
24867
|
-
GL_FUNCTIONS_MAP[:glSecondaryColor3hNV].call(_red_, _green_, _blue_)
|
24868
|
-
end
|
24869
|
-
SRC
|
24870
|
-
|
24871
|
-
GL::GL_FUNCTION_SYMBOLS << :glSecondaryColor3hvNV
|
24872
|
-
GL::GL_FUNCTIONS_ARGS_MAP[:glSecondaryColor3hvNV] = [Fiddle::TYPE_VOIDP]
|
24873
|
-
GL::GL_FUNCTIONS_RETVAL_MAP[:glSecondaryColor3hvNV] = Fiddle::TYPE_VOID
|
24874
|
-
GL.bind_command(:glSecondaryColor3hvNV)
|
24875
|
-
GL.module_eval(<<-SRC)
|
24876
|
-
def self.SecondaryColor3hvNV(_v_)
|
24877
|
-
GL_FUNCTIONS_MAP[:glSecondaryColor3hvNV].call(_v_)
|
24878
|
-
end
|
24879
|
-
SRC
|
24880
|
-
|
24881
|
-
GL::GL_FUNCTION_SYMBOLS << :glVertexWeighthNV
|
24882
|
-
GL::GL_FUNCTIONS_ARGS_MAP[:glVertexWeighthNV] = [-Fiddle::TYPE_SHORT]
|
24883
|
-
GL::GL_FUNCTIONS_RETVAL_MAP[:glVertexWeighthNV] = Fiddle::TYPE_VOID
|
24884
|
-
GL.bind_command(:glVertexWeighthNV)
|
24885
|
-
GL.module_eval(<<-SRC)
|
24886
|
-
def self.VertexWeighthNV(_weight_)
|
24887
|
-
GL_FUNCTIONS_MAP[:glVertexWeighthNV].call(_weight_)
|
24888
|
-
end
|
24889
|
-
SRC
|
24890
|
-
|
24891
|
-
GL::GL_FUNCTION_SYMBOLS << :glVertexWeighthvNV
|
24892
|
-
GL::GL_FUNCTIONS_ARGS_MAP[:glVertexWeighthvNV] = [Fiddle::TYPE_VOIDP]
|
24893
|
-
GL::GL_FUNCTIONS_RETVAL_MAP[:glVertexWeighthvNV] = Fiddle::TYPE_VOID
|
24894
|
-
GL.bind_command(:glVertexWeighthvNV)
|
24895
|
-
GL.module_eval(<<-SRC)
|
24896
|
-
def self.VertexWeighthvNV(_weight_)
|
24897
|
-
GL_FUNCTIONS_MAP[:glVertexWeighthvNV].call(_weight_)
|
24898
|
-
end
|
24899
|
-
SRC
|
24900
|
-
|
24901
24880
|
GL::GL_FUNCTION_SYMBOLS << :glVertexAttrib1hNV
|
24902
24881
|
GL::GL_FUNCTIONS_ARGS_MAP[:glVertexAttrib1hNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_SHORT]
|
24903
24882
|
GL::GL_FUNCTIONS_RETVAL_MAP[:glVertexAttrib1hNV] = Fiddle::TYPE_VOID
|
@@ -25017,6 +24996,66 @@ module GLExt
|
|
25017
24996
|
GL_FUNCTIONS_MAP[:glVertexAttribs4hvNV].call(_index_, _n_, _v_)
|
25018
24997
|
end
|
25019
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
|
25020
25059
|
end # self.define_ext_command_GL_NV_half_float
|
25021
25060
|
|
25022
25061
|
def self.get_ext_command_GL_NV_half_float
|
@@ -25049,12 +25088,6 @@ module GLExt
|
|
25049
25088
|
'glMultiTexCoord3hvNV',
|
25050
25089
|
'glMultiTexCoord4hNV',
|
25051
25090
|
'glMultiTexCoord4hvNV',
|
25052
|
-
'glFogCoordhNV',
|
25053
|
-
'glFogCoordhvNV',
|
25054
|
-
'glSecondaryColor3hNV',
|
25055
|
-
'glSecondaryColor3hvNV',
|
25056
|
-
'glVertexWeighthNV',
|
25057
|
-
'glVertexWeighthvNV',
|
25058
25091
|
'glVertexAttrib1hNV',
|
25059
25092
|
'glVertexAttrib1hvNV',
|
25060
25093
|
'glVertexAttrib2hNV',
|
@@ -25067,6 +25100,12 @@ module GLExt
|
|
25067
25100
|
'glVertexAttribs2hvNV',
|
25068
25101
|
'glVertexAttribs3hvNV',
|
25069
25102
|
'glVertexAttribs4hvNV',
|
25103
|
+
'glFogCoordhNV',
|
25104
|
+
'glFogCoordhvNV',
|
25105
|
+
'glSecondaryColor3hNV',
|
25106
|
+
'glSecondaryColor3hvNV',
|
25107
|
+
'glVertexWeighthNV',
|
25108
|
+
'glVertexWeighthvNV',
|
25070
25109
|
]
|
25071
25110
|
end # self.get_ext_command_GL_NV_half_float
|
25072
25111
|
|
@@ -27919,6 +27958,15 @@ module GLExt
|
|
27919
27958
|
end # self.get_ext_command_GL_NV_transform_feedback2
|
27920
27959
|
|
27921
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
|
+
|
27922
27970
|
def self.define_ext_command_GL_NV_uniform_buffer_unified_memory
|
27923
27971
|
end # self.define_ext_command_GL_NV_uniform_buffer_unified_memory
|
27924
27972
|
|
@@ -31221,11 +31269,22 @@ module GLExt
|
|
31221
31269
|
GL_FUNCTIONS_MAP[:glFramebufferTextureMultiviewOVR].call(_target_, _attachment_, _texture_, _level_, _baseViewIndex_, _numViews_)
|
31222
31270
|
end
|
31223
31271
|
SRC
|
31272
|
+
|
31273
|
+
GL::GL_FUNCTION_SYMBOLS << :glNamedFramebufferTextureMultiviewOVR
|
31274
|
+
GL::GL_FUNCTIONS_ARGS_MAP[:glNamedFramebufferTextureMultiviewOVR] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
31275
|
+
GL::GL_FUNCTIONS_RETVAL_MAP[:glNamedFramebufferTextureMultiviewOVR] = Fiddle::TYPE_VOID
|
31276
|
+
GL.bind_command(:glNamedFramebufferTextureMultiviewOVR)
|
31277
|
+
GL.module_eval(<<-SRC)
|
31278
|
+
def self.NamedFramebufferTextureMultiviewOVR(_framebuffer_, _attachment_, _texture_, _level_, _baseViewIndex_, _numViews_)
|
31279
|
+
GL_FUNCTIONS_MAP[:glNamedFramebufferTextureMultiviewOVR].call(_framebuffer_, _attachment_, _texture_, _level_, _baseViewIndex_, _numViews_)
|
31280
|
+
end
|
31281
|
+
SRC
|
31224
31282
|
end # self.define_ext_command_GL_OVR_multiview
|
31225
31283
|
|
31226
31284
|
def self.get_ext_command_GL_OVR_multiview
|
31227
31285
|
[
|
31228
31286
|
'glFramebufferTextureMultiviewOVR',
|
31287
|
+
'glNamedFramebufferTextureMultiviewOVR',
|
31229
31288
|
]
|
31230
31289
|
end # self.get_ext_command_GL_OVR_multiview
|
31231
31290
|
|
@@ -33328,13 +33387,4 @@ module GLExt
|
|
33328
33387
|
end # self.get_ext_command_GL_WIN_specular_fog
|
33329
33388
|
|
33330
33389
|
|
33331
|
-
def self.define_ext_command_GL_EXT_texture_shadow_lod
|
33332
|
-
end # self.define_ext_command_GL_EXT_texture_shadow_lod
|
33333
|
-
|
33334
|
-
def self.get_ext_command_GL_EXT_texture_shadow_lod
|
33335
|
-
[
|
33336
|
-
]
|
33337
|
-
end # self.get_ext_command_GL_EXT_texture_shadow_lod
|
33338
|
-
|
33339
|
-
|
33340
33390
|
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)
|
@@ -8045,6 +8054,15 @@ module GLExt
|
|
8045
8054
|
end # self.get_ext_enum_GL_EXT_texture_sRGB_decode
|
8046
8055
|
|
8047
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
|
+
|
8048
8066
|
def self.define_ext_enum_GL_EXT_texture_shared_exponent
|
8049
8067
|
GL.const_set('RGB9_E5_EXT', 0x8C3D) unless defined?(GL::RGB9_E5_EXT)
|
8050
8068
|
GL.const_set('UNSIGNED_INT_5_9_9_9_REV_EXT', 0x8C3E) unless defined?(GL::UNSIGNED_INT_5_9_9_9_REV_EXT)
|
@@ -12250,6 +12268,15 @@ module GLExt
|
|
12250
12268
|
end # self.get_ext_enum_GL_NV_transform_feedback2
|
12251
12269
|
|
12252
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
|
+
|
12253
12280
|
def self.define_ext_enum_GL_NV_uniform_buffer_unified_memory
|
12254
12281
|
GL.const_set('UNIFORM_BUFFER_UNIFIED_NV', 0x936E) unless defined?(GL::UNIFORM_BUFFER_UNIFIED_NV)
|
12255
12282
|
GL.const_set('UNIFORM_BUFFER_ADDRESS_NV', 0x936F) unless defined?(GL::UNIFORM_BUFFER_ADDRESS_NV)
|
@@ -14134,13 +14161,4 @@ module GLExt
|
|
14134
14161
|
end # self.get_ext_enum_GL_WIN_specular_fog
|
14135
14162
|
|
14136
14163
|
|
14137
|
-
def self.define_ext_enum_GL_EXT_texture_shadow_lod
|
14138
|
-
end # self.define_ext_enum_GL_EXT_texture_shadow_lod
|
14139
|
-
|
14140
|
-
def self.get_ext_enum_GL_EXT_texture_shadow_lod
|
14141
|
-
[
|
14142
|
-
]
|
14143
|
-
end # self.get_ext_enum_GL_EXT_texture_shadow_lod
|
14144
|
-
|
14145
|
-
|
14146
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-2025 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-2025 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-2025 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-2025 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,15 +1,28 @@
|
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vaiorabbit
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
10
|
+
date: 2025-01-01 00:00:00.000000000 Z
|
11
|
+
dependencies:
|
12
|
+
- !ruby/object:Gem::Dependency
|
13
|
+
name: fiddle
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - "~>"
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '1.0'
|
19
|
+
type: :runtime
|
20
|
+
prerelease: false
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - "~>"
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '1.0'
|
13
26
|
description: 'Ruby bindings for OpenGL - 4.6, OpenGL ES - 3.2 and all extensions using
|
14
27
|
Fiddle (For MRI >= 2.4.0). GLFW/GLUT/GLU bindings are also available.
|
15
28
|
|
@@ -24,6 +37,7 @@ files:
|
|
24
37
|
- LICENSE.txt
|
25
38
|
- README.md
|
26
39
|
- lib/glfw.rb
|
40
|
+
- lib/glfw33.rb
|
27
41
|
- lib/glu.rb
|
28
42
|
- lib/glut.rb
|
29
43
|
- lib/opengl.rb
|
@@ -53,7 +67,6 @@ homepage: https://github.com/vaiorabbit/ruby-opengl
|
|
53
67
|
licenses:
|
54
68
|
- Zlib
|
55
69
|
metadata: {}
|
56
|
-
post_install_message:
|
57
70
|
rdoc_options: []
|
58
71
|
require_paths:
|
59
72
|
- lib
|
@@ -68,8 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
81
|
- !ruby/object:Gem::Version
|
69
82
|
version: '0'
|
70
83
|
requirements: []
|
71
|
-
rubygems_version: 3.
|
72
|
-
signing_key:
|
84
|
+
rubygems_version: 3.6.2
|
73
85
|
specification_version: 4
|
74
|
-
summary: Bindings for OpenGL
|
86
|
+
summary: Bindings for OpenGL/GLFW/GLUT/GLU
|
75
87
|
test_files: []
|