Module: GL_VERSION_1_0
- Defined in:
- lib/opengl-definitions/versions/GL_VERSION_1_0.rb,
lib/opengl-definitions/versions/compatibility/GL_VERSION_1_0.rb
Overview
Unlike other extensions, functions from this module are not pointers.
Defined Under Namespace
Modules: Compatibility, Constants
Constant Summary collapse
- TypeDefs =
{ ptrdiff_t: 1.size == 4 ? :int32_t : :int64_t, GLbitfield: :uint, GLboolean: :uchar, GLbyte: :char, GLchar: :char, GLcharARB: :char, GLclampd: :double, GLclampf: :float, GLclampx: :int, GLdouble: :double, GLeglClientBufferEXT: :pointer, GLeglImageOES: :pointer, # void * GLenum: :uint, GLfixed: :int32, # Must be 32 bits GLfloat: :float, GLhalf: :ushort, GLhalfARB: :ushort, GLhalfNV: :ushort, GLhandleARB: :uint, # at least 32 bits GLint: :int, GLint64: :int64, GLint64EXT: :int64, GLintptr: :ptrdiff_t, GLintptrARB: :ptrdiff_t, GLshort: :short, GLsizei: :int, GLsizeiptr: :ptrdiff_t, GLsizeiptrARB: :ptrdiff_t, GLsync: :pointer, # struct __GLsync * GLubyte: :uchar, GLuint: :uint, GLuint64: :uint64, GLuint64EXT: :uint64, GLushort: :ushort, GLvdpauSurfaceNV: :ptrdiff_t, GLvoid: :void, GLVULKANPROCNV: :pointer, }.freeze
- Functions =
{ def glBlendFunc(sfactor, dfactor) end => [ :void, :GLenum, :GLenum ].freeze, def glClear(mask) end => [ :void, :GLbitfield ].freeze, def glClearColor(red, green, blue, alpha) end => [ :void, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze, def glClearDepth(depth) end => [ :void, :GLdouble ].freeze, def glClearStencil(s) end => [ :void, :GLint ].freeze, def glColorMask(red, green, blue, alpha) end => [ :void, :GLboolean, :GLboolean, :GLboolean, :GLboolean ].freeze, def glCullFace(mode) end => [ :void, :GLenum ].freeze, def glDepthFunc(func) end => [ :void, :GLenum ].freeze, def glDepthMask(flag) end => [ :void, :GLboolean ].freeze, def glDepthRange(n, f) end => [ :void, :GLdouble, :GLdouble ].freeze, def glDisable(cap) end => [ :void, :GLenum ].freeze, def glDrawBuffer(buf) end => [ :void, :GLenum ].freeze, def glEnable(cap) end => [ :void, :GLenum ].freeze, def glFinish() end => [ :void ].freeze, def glFlush() end => [ :void ].freeze, def glFrontFace(mode) end => [ :void, :GLenum ].freeze, def glGetBooleanv(pname, data) end => [ :void, :GLenum, :pointer ].freeze, def glGetDoublev(pname, data) end => [ :void, :GLenum, :pointer ].freeze, def glGetError() end => [ :GLenum ].freeze, def glGetFloatv(pname, data) end => [ :void, :GLenum, :pointer ].freeze, def glGetIntegerv(pname, data) end => [ :void, :GLenum, :pointer ].freeze, def glGetString(name) end => [ :string, :GLenum ].freeze, def glGetTexImage(target, level, format, type, pixels) end => [ :void, :GLenum, :GLint, :GLenum, :GLenum, :pointer ].freeze, def glGetTexLevelParameterfv(target, level, pname, params) end => [ :void, :GLenum, :GLint, :GLenum, :pointer ].freeze, def glGetTexLevelParameteriv(target, level, pname, params) end => [ :void, :GLenum, :GLint, :GLenum, :pointer ].freeze, def glGetTexParameterfv(target, pname, params) end => [ :void, :GLenum, :GLenum, :pointer ].freeze, def glGetTexParameteriv(target, pname, params) end => [ :void, :GLenum, :GLenum, :pointer ].freeze, def glHint(target, mode) end => [ :void, :GLenum, :GLenum ].freeze, def glIsEnabled(cap) end => [ :GLboolean, :GLenum ].freeze, def glLineWidth(width) end => [ :void, :GLfloat ].freeze, def glLogicOp(opcode) end => [ :void, :GLenum ].freeze, def glPixelStoref(pname, param) end => [ :void, :GLenum, :GLfloat ].freeze, def glPixelStorei(pname, param) end => [ :void, :GLenum, :GLint ].freeze, def glPointSize(size) end => [ :void, :GLfloat ].freeze, def glPolygonMode(face, mode) end => [ :void, :GLenum, :GLenum ].freeze, def glReadBuffer(src) end => [ :void, :GLenum ].freeze, def glReadPixels(x, y, width, height, format, type, pixels) end => [ :void, :GLint, :GLint, :GLsizei, :GLsizei, :GLenum, :GLenum, :pointer ].freeze, def glScissor(x, y, width, height) end => [ :void, :GLint, :GLint, :GLsizei, :GLsizei ].freeze, def glStencilFunc(func, ref, mask) end => [ :void, :GLenum, :GLint, :GLuint ].freeze, def glStencilMask(mask) end => [ :void, :GLuint ].freeze, def glStencilOp(fail, zfail, zpass) end => [ :void, :GLenum, :GLenum, :GLenum ].freeze, def glTexImage1D(target, level, internalformat, width, border, format, type, pixels) end => [ :void, :GLenum, :GLint, :GLint, :GLsizei, :GLint, :GLenum, :GLenum, :pointer ].freeze, def glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels) end => [ :void, :GLenum, :GLint, :GLint, :GLsizei, :GLsizei, :GLint, :GLenum, :GLenum, :pointer ].freeze, def glTexParameterf(target, pname, param) end => [ :void, :GLenum, :GLenum, :GLfloat ].freeze, def glTexParameterfv(target, pname, params) end => [ :void, :GLenum, :GLenum, :pointer ].freeze, def glTexParameteri(target, pname, param) end => [ :void, :GLenum, :GLenum, :GLint ].freeze, def glTexParameteriv(target, pname, params) end => [ :void, :GLenum, :GLenum, :pointer ].freeze, def glViewport(x, y, width, height) end => [ :void, :GLint, :GLint, :GLsizei, :GLsizei ].freeze, }.freeze