diff --git a/generator/gl.xml b/generator/gl.xml index 3fab601..339f3cf 100644 --- a/generator/gl.xml +++ b/generator/gl.xml @@ -6928,9 +6928,9 @@ typedef unsigned int GLhandleARB; - + - + @@ -6953,7 +6953,7 @@ typedef unsigned int GLhandleARB; - + @@ -7013,6 +7013,16 @@ typedef unsigned int GLhandleARB; + + + + + + + + + + - - + + @@ -19367,6 +19377,15 @@ typedef unsigned int GLhandleARB; GLint level GLint layer + + void glNamedFramebufferTextureMultiviewOVR + GLuint framebuffer + GLenum attachment + GLuint texture + GLint level + GLint baseViewIndex + GLsizei numViews + void glNamedProgramLocalParameter4dEXT GLuint program @@ -46575,6 +46594,9 @@ typedef unsigned int GLhandleARB; + + + diff --git a/lib/opengl_es_ext_command.rb b/lib/opengl_es_ext_command.rb index bd0fca7..f877762 100644 --- a/lib/opengl_es_ext_command.rb +++ b/lib/opengl_es_ext_command.rb @@ -8748,11 +8748,22 @@ def self.FramebufferTextureMultiviewOVR(_target_, _attachment_, _texture_, _leve GL_FUNCTIONS_MAP[:glFramebufferTextureMultiviewOVR].call(_target_, _attachment_, _texture_, _level_, _baseViewIndex_, _numViews_) end SRC + + GL::GL_FUNCTION_SYMBOLS << :glNamedFramebufferTextureMultiviewOVR + GL::GL_FUNCTIONS_ARGS_MAP[:glNamedFramebufferTextureMultiviewOVR] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT] + GL::GL_FUNCTIONS_RETVAL_MAP[:glNamedFramebufferTextureMultiviewOVR] = Fiddle::TYPE_VOID + GL.bind_command(:glNamedFramebufferTextureMultiviewOVR) + GL.module_eval(<<-SRC) + def self.NamedFramebufferTextureMultiviewOVR(_framebuffer_, _attachment_, _texture_, _level_, _baseViewIndex_, _numViews_) + GL_FUNCTIONS_MAP[:glNamedFramebufferTextureMultiviewOVR].call(_framebuffer_, _attachment_, _texture_, _level_, _baseViewIndex_, _numViews_) + end + SRC end # self.define_ext_command_GL_OVR_multiview def self.get_ext_command_GL_OVR_multiview [ 'glFramebufferTextureMultiviewOVR', + 'glNamedFramebufferTextureMultiviewOVR', ] end # self.get_ext_command_GL_OVR_multiview diff --git a/lib/opengl_ext_command.rb b/lib/opengl_ext_command.rb index 3c4108d..0d8f167 100644 --- a/lib/opengl_ext_command.rb +++ b/lib/opengl_ext_command.rb @@ -31269,11 +31269,22 @@ def self.FramebufferTextureMultiviewOVR(_target_, _attachment_, _texture_, _leve GL_FUNCTIONS_MAP[:glFramebufferTextureMultiviewOVR].call(_target_, _attachment_, _texture_, _level_, _baseViewIndex_, _numViews_) end SRC + + GL::GL_FUNCTION_SYMBOLS << :glNamedFramebufferTextureMultiviewOVR + GL::GL_FUNCTIONS_ARGS_MAP[:glNamedFramebufferTextureMultiviewOVR] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT] + GL::GL_FUNCTIONS_RETVAL_MAP[:glNamedFramebufferTextureMultiviewOVR] = Fiddle::TYPE_VOID + GL.bind_command(:glNamedFramebufferTextureMultiviewOVR) + GL.module_eval(<<-SRC) + def self.NamedFramebufferTextureMultiviewOVR(_framebuffer_, _attachment_, _texture_, _level_, _baseViewIndex_, _numViews_) + GL_FUNCTIONS_MAP[:glNamedFramebufferTextureMultiviewOVR].call(_framebuffer_, _attachment_, _texture_, _level_, _baseViewIndex_, _numViews_) + end + SRC end # self.define_ext_command_GL_OVR_multiview def self.get_ext_command_GL_OVR_multiview [ 'glFramebufferTextureMultiviewOVR', + 'glNamedFramebufferTextureMultiviewOVR', ] end # self.get_ext_command_GL_OVR_multiview