Module: GL_VERSION_2_0

Defined in:
lib/opengl-definitions/core/GL_VERSION_2_0.rb

Defined Under Namespace

Modules: Constants

Constant Summary collapse

FUNCTIONS =
{
  glAttachShader:             [ :void, :GLuint, :GLuint ].freeze,
  glBindAttribLocation:       [ :void, :GLuint, :GLuint, :string ].freeze,
  glBlendEquationSeparate:    [ :void, :GLenum, :GLenum ].freeze,
  glCompileShader:            [ :void, :GLuint ].freeze,
  glCreateProgram:            [ :GLuint ].freeze,
  glCreateShader:             [ :GLuint, :GLenum ].freeze,
  glDeleteProgram:            [ :void, :GLuint ].freeze,
  glDeleteShader:             [ :void, :GLuint ].freeze,
  glDetachShader:             [ :void, :GLuint, :GLuint ].freeze,
  glDisableVertexAttribArray: [ :void, :GLuint ].freeze,
  glDrawBuffers:              [ :void, :GLsizei, :pointer ].freeze,
  glEnableVertexAttribArray:  [ :void, :GLuint ].freeze,
  glGetActiveAttrib:          [ :void, :GLuint, :GLuint, :GLsizei, :pointer, :pointer, :pointer, :string ].freeze,
  glGetActiveUniform:         [ :void, :GLuint, :GLuint, :GLsizei, :pointer, :pointer, :pointer, :string ].freeze,
  glGetAttachedShaders:       [ :void, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
  glGetAttribLocation:        [ :GLint, :GLuint, :string ].freeze,
  glGetProgramInfoLog:        [ :void, :GLuint, :GLsizei, :pointer, :string ].freeze,
  glGetProgramiv:             [ :void, :GLuint, :GLenum, :pointer ].freeze,
  glGetShaderInfoLog:         [ :void, :GLuint, :GLsizei, :pointer, :string ].freeze,
  glGetShaderiv:              [ :void, :GLuint, :GLenum, :pointer ].freeze,
  glGetShaderSource:          [ :void, :GLuint, :GLsizei, :pointer, :string ].freeze,
  glGetUniformfv:             [ :void, :GLuint, :GLint, :pointer ].freeze,
  glGetUniformiv:             [ :void, :GLuint, :GLint, :pointer ].freeze,
  glGetUniformLocation:       [ :GLint, :GLuint, :string ].freeze,
  glGetVertexAttribdv:        [ :void, :GLuint, :GLenum, :pointer ].freeze,
  glGetVertexAttribfv:        [ :void, :GLuint, :GLenum, :pointer ].freeze,
  glGetVertexAttribiv:        [ :void, :GLuint, :GLenum, :pointer ].freeze,
  glGetVertexAttribPointerv:  [ :void, :GLuint, :GLenum, :pointer ].freeze,
  glIsProgram:                [ :GLboolean, :GLuint ].freeze,
  glIsShader:                 [ :GLboolean, :GLuint ].freeze,
  glLinkProgram:              [ :void, :GLuint ].freeze,
  glShaderSource:             [ :void, :GLuint, :GLsizei, :string, :pointer ].freeze,
  glStencilFuncSeparate:      [ :void, :GLenum, :GLenum, :GLint, :GLuint ].freeze,
  glStencilMaskSeparate:      [ :void, :GLenum, :GLuint ].freeze,
  glStencilOpSeparate:        [ :void, :GLenum, :GLenum, :GLenum, :GLenum ].freeze,
  glUniform1f:                [ :void, :GLint, :GLfloat ].freeze,
  glUniform1fv:               [ :void, :GLint, :GLsizei, :pointer ].freeze,
  glUniform1i:                [ :void, :GLint, :GLint ].freeze,
  glUniform1iv:               [ :void, :GLint, :GLsizei, :pointer ].freeze,
  glUniform2f:                [ :void, :GLint, :GLfloat, :GLfloat ].freeze,
  glUniform2fv:               [ :void, :GLint, :GLsizei, :pointer ].freeze,
  glUniform2i:                [ :void, :GLint, :GLint, :GLint ].freeze,
  glUniform2iv:               [ :void, :GLint, :GLsizei, :pointer ].freeze,
  glUniform3f:                [ :void, :GLint, :GLfloat, :GLfloat, :GLfloat ].freeze,
  glUniform3fv:               [ :void, :GLint, :GLsizei, :pointer ].freeze,
  glUniform3i:                [ :void, :GLint, :GLint, :GLint, :GLint ].freeze,
  glUniform3iv:               [ :void, :GLint, :GLsizei, :pointer ].freeze,
  glUniform4f:                [ :void, :GLint, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
  glUniform4fv:               [ :void, :GLint, :GLsizei, :pointer ].freeze,
  glUniform4i:                [ :void, :GLint, :GLint, :GLint, :GLint, :GLint ].freeze,
  glUniform4iv:               [ :void, :GLint, :GLsizei, :pointer ].freeze,
  glUniformMatrix2fv:         [ :void, :GLint, :GLsizei, :GLboolean, :pointer ].freeze,
  glUniformMatrix3fv:         [ :void, :GLint, :GLsizei, :GLboolean, :pointer ].freeze,
  glUniformMatrix4fv:         [ :void, :GLint, :GLsizei, :GLboolean, :pointer ].freeze,
  glUseProgram:               [ :void, :GLuint ].freeze,
  glValidateProgram:          [ :void, :GLuint ].freeze,
  glVertexAttrib1d:           [ :void, :GLuint, :GLdouble ].freeze,
  glVertexAttrib1dv:          [ :void, :GLuint, :pointer ].freeze,
  glVertexAttrib1f:           [ :void, :GLuint, :GLfloat ].freeze,
  glVertexAttrib1fv:          [ :void, :GLuint, :pointer ].freeze,
  glVertexAttrib1s:           [ :void, :GLuint, :GLshort ].freeze,
  glVertexAttrib1sv:          [ :void, :GLuint, :pointer ].freeze,
  glVertexAttrib2d:           [ :void, :GLuint, :GLdouble, :GLdouble ].freeze,
  glVertexAttrib2dv:          [ :void, :GLuint, :pointer ].freeze,
  glVertexAttrib2f:           [ :void, :GLuint, :GLfloat, :GLfloat ].freeze,
  glVertexAttrib2fv:          [ :void, :GLuint, :pointer ].freeze,
  glVertexAttrib2s:           [ :void, :GLuint, :GLshort, :GLshort ].freeze,
  glVertexAttrib2sv:          [ :void, :GLuint, :pointer ].freeze,
  glVertexAttrib3d:           [ :void, :GLuint, :GLdouble, :GLdouble, :GLdouble ].freeze,
  glVertexAttrib3dv:          [ :void, :GLuint, :pointer ].freeze,
  glVertexAttrib3f:           [ :void, :GLuint, :GLfloat, :GLfloat, :GLfloat ].freeze,
  glVertexAttrib3fv:          [ :void, :GLuint, :pointer ].freeze,
  glVertexAttrib3s:           [ :void, :GLuint, :GLshort, :GLshort, :GLshort ].freeze,
  glVertexAttrib3sv:          [ :void, :GLuint, :pointer ].freeze,
  glVertexAttrib4bv:          [ :void, :GLuint, :pointer ].freeze,
  glVertexAttrib4d:           [ :void, :GLuint, :GLdouble, :GLdouble, :GLdouble, :GLdouble ].freeze,
  glVertexAttrib4dv:          [ :void, :GLuint, :pointer ].freeze,
  glVertexAttrib4f:           [ :void, :GLuint, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
  glVertexAttrib4fv:          [ :void, :GLuint, :pointer ].freeze,
  glVertexAttrib4iv:          [ :void, :GLuint, :pointer ].freeze,
  glVertexAttrib4Nbv:         [ :void, :GLuint, :pointer ].freeze,
  glVertexAttrib4Niv:         [ :void, :GLuint, :pointer ].freeze,
  glVertexAttrib4Nsv:         [ :void, :GLuint, :pointer ].freeze,
  glVertexAttrib4Nub:         [ :void, :GLuint, :GLubyte, :GLubyte, :GLubyte, :GLubyte ].freeze,
  glVertexAttrib4Nubv:        [ :void, :GLuint, :pointer ].freeze,
  glVertexAttrib4Nuiv:        [ :void, :GLuint, :pointer ].freeze,
  glVertexAttrib4Nusv:        [ :void, :GLuint, :pointer ].freeze,
  glVertexAttrib4s:           [ :void, :GLuint, :GLshort, :GLshort, :GLshort, :GLshort ].freeze,
  glVertexAttrib4sv:          [ :void, :GLuint, :pointer ].freeze,
  glVertexAttrib4ubv:         [ :void, :GLuint, :pointer ].freeze,
  glVertexAttrib4uiv:         [ :void, :GLuint, :pointer ].freeze,
  glVertexAttrib4usv:         [ :void, :GLuint, :pointer ].freeze,
  glVertexAttribPointer:      [ :void, :GLuint, :GLint, :GLenum, :GLboolean, :GLsizei, :pointer ].freeze
}.freeze