OpenGL ES 2.0 APIΒΆ

The vispy.gloo.gl namespace provides the OpenGL ES 2.0 API, Consisting of 302 constants and 144 functions (with 79 and 15 more in the extensions) At this moment, the functions are taken from OpenGL.GL (provided by the PyOpenGL package).

vispy.gloo.gl

  • glActiveTexture()
  • glAttachShader()
  • glBindAttribLocation()
  • glBindBuffer()
  • glBindFramebuffer()
  • glBindRenderbuffer()
  • glBindTexture()
  • glBlendColor()
  • glBlendEquation()
  • glBlendEquationSeparate()
  • glBlendFunc()
  • glBlendFuncSeparate()
  • glBufferData()
  • glBufferSubData()
  • glCheckFramebufferStatus()
  • glClear()
  • glClearColor()
  • glClearDepthf()
  • glClearStencil()
  • glColorMask()
  • glCompileShader()
  • glCompressedTexImage2D()
  • glCompressedTexSubImage2D()
  • glCopyTexImage2D()
  • glCopyTexSubImage2D()
  • glCreateProgram()
  • glCreateShader()
  • glCullFace()
  • glDeleteBuffers()
  • glDeleteFramebuffers()
  • glDeleteProgram()
  • glDeleteRenderbuffers()
  • glDeleteShader()
  • glDeleteTextures()
  • glDepthFunc()
  • glDepthMask()
  • glDepthRangef()
  • glDetachShader()
  • glDisable()
  • glDisableVertexAttribArray()
  • glDrawArrays()
  • glDrawElements()
  • glEnable()
  • glEnableVertexAttribArray()
  • glFinish()
  • glFlush()
  • glFramebufferRenderbuffer()
  • glFramebufferTexture2D()
  • glFrontFace()
  • glGenBuffers()
  • glGenFramebuffers()
  • glGenRenderbuffers()
  • glGenTextures()
  • glGenerateMipmap()
  • glGetActiveAttrib()
  • glGetActiveUniform()
  • glGetAttachedShaders()
  • glGetAttribLocation()
  • glGetBooleanv()
  • glGetBufferParameteriv()
  • glGetError()
  • glGetFloatv()
  • glGetFramebufferAttachmentParameteriv()
  • glGetIntegerv()
  • glGetProgramInfoLog()
  • glGetProgramiv()
  • glGetRenderbufferParameteriv()
  • glGetShaderInfoLog()
  • glGetShaderPrecisionFormat()
  • glGetShaderSource()
  • glGetShaderiv()
  • glGetString()
  • glGetTexParameterfv()
  • glGetTexParameteriv()
  • glGetUniformLocation()
  • glGetUniformfv()
  • glGetUniformiv()
  • glGetVertexAttribPointerv()
  • glGetVertexAttribfv()
  • glGetVertexAttribiv()
  • glHint()
  • glIsBuffer()
  • glIsEnabled()
  • glIsFramebuffer()
  • glIsProgram()
  • glIsRenderbuffer()
  • glIsShader()
  • glIsTexture()
  • glLineWidth()
  • glLinkProgram()
  • glPixelStorei()
  • glPolygonOffset()
  • glReadPixels()
  • glReleaseShaderCompiler()
  • glRenderbufferStorage()
  • glSampleCoverage()
  • glScissor()
  • glShaderBinary()
  • glShaderSource()
  • glShaderSource_compat()
  • glStencilFunc()
  • glStencilFuncSeparate()
  • glStencilMask()
  • glStencilMaskSeparate()
  • glStencilOp()
  • glStencilOpSeparate()
  • glTexImage2D()
  • glTexParameter()
  • glTexParameterf()
  • glTexParameterfv()
  • glTexParameteri()
  • glTexParameteriv()
  • glTexSubImage2D()
  • glUniform1f()
  • glUniform1fv()
  • glUniform1i()
  • glUniform1iv()
  • glUniform2f()
  • glUniform2fv()
  • glUniform2i()
  • glUniform2iv()
  • glUniform3f()
  • glUniform3fv()
  • glUniform3i()
  • glUniform3iv()
  • glUniform4f()
  • glUniform4fv()
  • glUniform4i()
  • glUniform4iv()
  • glUniformMatrix2fv()
  • glUniformMatrix3fv()
  • glUniformMatrix4fv()
  • glUseProgram()
  • glValidateProgram()
  • glVertexAttrib1f()
  • glVertexAttrib1fv()
  • glVertexAttrib2f()
  • glVertexAttrib2fv()
  • glVertexAttrib3f()
  • glVertexAttrib3fv()
  • glVertexAttrib4f()
  • glVertexAttrib4fv()
  • glVertexAttribPointer()
  • glViewport()
  • GL_ACTIVE_ATTRIBUTES
  • GL_ACTIVE_ATTRIBUTE_MAX_LENGTH
  • GL_ACTIVE_TEXTURE
  • GL_ACTIVE_UNIFORMS
  • GL_ACTIVE_UNIFORM_MAX_LENGTH
  • GL_ALIASED_LINE_WIDTH_RANGE
  • GL_ALIASED_POINT_SIZE_RANGE
  • GL_ALPHA
  • GL_ALPHA_BITS
  • GL_ALWAYS
  • GL_ARRAY_BUFFER
  • GL_ARRAY_BUFFER_BINDING
  • GL_ATTACHED_SHADERS
  • GL_BACK
  • GL_BLEND
  • GL_BLEND_COLOR
  • GL_BLEND_DST_ALPHA
  • GL_BLEND_DST_RGB
  • GL_BLEND_EQUATION
  • GL_BLEND_EQUATION_ALPHA
  • GL_BLEND_EQUATION_RGB
  • GL_BLEND_SRC_ALPHA
  • GL_BLEND_SRC_RGB
  • GL_BLUE_BITS
  • GL_BOOL
  • GL_BOOL_VEC2
  • GL_BOOL_VEC3
  • GL_BOOL_VEC4
  • GL_BUFFER_SIZE
  • GL_BUFFER_USAGE
  • GL_BYTE
  • GL_CCW
  • GL_CLAMP_TO_EDGE
  • GL_COLOR_ATTACHMENT0
  • GL_COLOR_BUFFER_BIT
  • GL_COLOR_CLEAR_VALUE
  • GL_COLOR_WRITEMASK
  • GL_COMPILE_STATUS
  • GL_COMPRESSED_TEXTURE_FORMATS
  • GL_CONSTANT_ALPHA
  • GL_CONSTANT_COLOR
  • GL_CULL_FACE
  • GL_CULL_FACE_MODE
  • GL_CURRENT_PROGRAM
  • GL_CURRENT_VERTEX_ATTRIB
  • GL_CW
  • GL_DECR
  • GL_DECR_WRAP
  • GL_DELETE_STATUS
  • GL_DEPTH_ATTACHMENT
  • GL_DEPTH_BITS
  • GL_DEPTH_BUFFER_BIT
  • GL_DEPTH_CLEAR_VALUE
  • GL_DEPTH_COMPONENT
  • GL_DEPTH_COMPONENT16
  • GL_DEPTH_FUNC
  • GL_DEPTH_RANGE
  • GL_DEPTH_TEST
  • GL_DEPTH_WRITEMASK
  • GL_DITHER
  • GL_DONT_CARE
  • GL_DST_ALPHA
  • GL_DST_COLOR
  • GL_DYNAMIC_DRAW
  • GL_ELEMENT_ARRAY_BUFFER
  • GL_ELEMENT_ARRAY_BUFFER_BINDING
  • GL_EQUAL
  • GL_ES_VERSION_2_0
  • GL_EXTENSIONS
  • GL_FALSE
  • GL_FASTEST
  • GL_FIXED
  • GL_FLOAT
  • GL_FLOAT_MAT2
  • GL_FLOAT_MAT3
  • GL_FLOAT_MAT4
  • GL_FLOAT_VEC2
  • GL_FLOAT_VEC3
  • GL_FLOAT_VEC4
  • GL_FRAGMENT_SHADER
  • GL_FRAMEBUFFER
  • GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
  • GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
  • GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
  • GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
  • GL_FRAMEBUFFER_BINDING
  • GL_FRAMEBUFFER_COMPLETE
  • GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
  • GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS
  • GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
  • GL_FRAMEBUFFER_UNSUPPORTED
  • GL_FRONT
  • GL_FRONT_AND_BACK
  • GL_FRONT_FACE
  • GL_FUNC_ADD
  • GL_FUNC_REVERSE_SUBTRACT
  • GL_FUNC_SUBTRACT
  • GL_GENERATE_MIPMAP_HINT
  • GL_GEQUAL
  • GL_GREATER
  • GL_GREEN_BITS
  • GL_HIGH_FLOAT
  • GL_HIGH_INT
  • GL_IMPLEMENTATION_COLOR_READ_FORMAT
  • GL_IMPLEMENTATION_COLOR_READ_TYPE
  • GL_INCR
  • GL_INCR_WRAP
  • GL_INFO_LOG_LENGTH
  • GL_INT
  • GL_INT_VEC2
  • GL_INT_VEC3
  • GL_INT_VEC4
  • GL_INVALID_ENUM
  • GL_INVALID_FRAMEBUFFER_OPERATION
  • GL_INVALID_OPERATION
  • GL_INVALID_VALUE
  • GL_INVERT
  • GL_KEEP
  • GL_LEQUAL
  • GL_LESS
  • GL_LINEAR
  • GL_LINEAR_MIPMAP_LINEAR
  • GL_LINEAR_MIPMAP_NEAREST
  • GL_LINES
  • GL_LINE_LOOP
  • GL_LINE_STRIP
  • GL_LINE_WIDTH
  • GL_LINK_STATUS
  • GL_LOW_FLOAT
  • GL_LOW_INT
  • GL_LUMINANCE
  • GL_LUMINANCE_ALPHA
  • GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
  • GL_MAX_CUBE_MAP_TEXTURE_SIZE
  • GL_MAX_FRAGMENT_UNIFORM_VECTORS
  • GL_MAX_RENDERBUFFER_SIZE
  • GL_MAX_TEXTURE_IMAGE_UNITS
  • GL_MAX_TEXTURE_SIZE
  • GL_MAX_VARYING_VECTORS
  • GL_MAX_VERTEX_ATTRIBS
  • GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
  • GL_MAX_VERTEX_UNIFORM_VECTORS
  • GL_MAX_VIEWPORT_DIMS
  • GL_MEDIUM_FLOAT
  • GL_MEDIUM_INT
  • GL_MIRRORED_REPEAT
  • GL_NEAREST
  • GL_NEAREST_MIPMAP_LINEAR
  • GL_NEAREST_MIPMAP_NEAREST
  • GL_NEVER
  • GL_NICEST
  • GL_NONE
  • GL_NOTEQUAL
  • GL_NO_ERROR
  • GL_NUM_COMPRESSED_TEXTURE_FORMATS
  • GL_NUM_SHADER_BINARY_FORMATS
  • GL_ONE
  • GL_ONE_MINUS_CONSTANT_ALPHA
  • GL_ONE_MINUS_CONSTANT_COLOR
  • GL_ONE_MINUS_DST_ALPHA
  • GL_ONE_MINUS_DST_COLOR
  • GL_ONE_MINUS_SRC_ALPHA
  • GL_ONE_MINUS_SRC_COLOR
  • GL_OUT_OF_MEMORY
  • GL_PACK_ALIGNMENT
  • GL_POINTS
  • GL_POLYGON_OFFSET_FACTOR
  • GL_POLYGON_OFFSET_FILL
  • GL_POLYGON_OFFSET_UNITS
  • GL_RED_BITS
  • GL_RENDERBUFFER
  • GL_RENDERBUFFER_ALPHA_SIZE
  • GL_RENDERBUFFER_BINDING
  • GL_RENDERBUFFER_BLUE_SIZE
  • GL_RENDERBUFFER_DEPTH_SIZE
  • GL_RENDERBUFFER_GREEN_SIZE
  • GL_RENDERBUFFER_HEIGHT
  • GL_RENDERBUFFER_INTERNAL_FORMAT
  • GL_RENDERBUFFER_RED_SIZE
  • GL_RENDERBUFFER_STENCIL_SIZE
  • GL_RENDERBUFFER_WIDTH
  • GL_RENDERER
  • GL_REPEAT
  • GL_REPLACE
  • GL_RGB
  • GL_RGB565
  • GL_RGB5_A1
  • GL_RGBA
  • GL_RGBA4
  • GL_SAMPLER_2D
  • GL_SAMPLER_CUBE
  • GL_SAMPLES
  • GL_SAMPLE_ALPHA_TO_COVERAGE
  • GL_SAMPLE_BUFFERS
  • GL_SAMPLE_COVERAGE
  • GL_SAMPLE_COVERAGE_INVERT
  • GL_SAMPLE_COVERAGE_VALUE
  • GL_SCISSOR_BOX
  • GL_SCISSOR_TEST
  • GL_SHADER_BINARY_FORMATS
  • GL_SHADER_COMPILER
  • GL_SHADER_SOURCE_LENGTH
  • GL_SHADER_TYPE
  • GL_SHADING_LANGUAGE_VERSION
  • GL_SHORT
  • GL_SRC_ALPHA
  • GL_SRC_ALPHA_SATURATE
  • GL_SRC_COLOR
  • GL_STATIC_DRAW
  • GL_STENCIL_ATTACHMENT
  • GL_STENCIL_BACK_FAIL
  • GL_STENCIL_BACK_FUNC
  • GL_STENCIL_BACK_PASS_DEPTH_FAIL
  • GL_STENCIL_BACK_PASS_DEPTH_PASS
  • GL_STENCIL_BACK_REF
  • GL_STENCIL_BACK_VALUE_MASK
  • GL_STENCIL_BACK_WRITEMASK
  • GL_STENCIL_BITS
  • GL_STENCIL_BUFFER_BIT
  • GL_STENCIL_CLEAR_VALUE
  • GL_STENCIL_FAIL
  • GL_STENCIL_FUNC
  • GL_STENCIL_INDEX8
  • GL_STENCIL_PASS_DEPTH_FAIL
  • GL_STENCIL_PASS_DEPTH_PASS
  • GL_STENCIL_REF
  • GL_STENCIL_TEST
  • GL_STENCIL_VALUE_MASK
  • GL_STENCIL_WRITEMASK
  • GL_STREAM_DRAW
  • GL_SUBPIXEL_BITS
  • GL_TEXTURE
  • GL_TEXTURE0
  • GL_TEXTURE1
  • GL_TEXTURE10
  • GL_TEXTURE11
  • GL_TEXTURE12
  • GL_TEXTURE13
  • GL_TEXTURE14
  • GL_TEXTURE15
  • GL_TEXTURE16
  • GL_TEXTURE17
  • GL_TEXTURE18
  • GL_TEXTURE19
  • GL_TEXTURE2
  • GL_TEXTURE20
  • GL_TEXTURE21
  • GL_TEXTURE22
  • GL_TEXTURE23
  • GL_TEXTURE24
  • GL_TEXTURE25
  • GL_TEXTURE26
  • GL_TEXTURE27
  • GL_TEXTURE28
  • GL_TEXTURE29
  • GL_TEXTURE3
  • GL_TEXTURE30
  • GL_TEXTURE31
  • GL_TEXTURE4
  • GL_TEXTURE5
  • GL_TEXTURE6
  • GL_TEXTURE7
  • GL_TEXTURE8
  • GL_TEXTURE9
  • GL_TEXTURE_2D
  • GL_TEXTURE_BINDING_2D
  • GL_TEXTURE_BINDING_CUBE_MAP
  • GL_TEXTURE_CUBE_MAP
  • GL_TEXTURE_CUBE_MAP_NEGATIVE_X
  • GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
  • GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
  • GL_TEXTURE_CUBE_MAP_POSITIVE_X
  • GL_TEXTURE_CUBE_MAP_POSITIVE_Y
  • GL_TEXTURE_CUBE_MAP_POSITIVE_Z
  • GL_TEXTURE_MAG_FILTER
  • GL_TEXTURE_MIN_FILTER
  • GL_TEXTURE_WRAP_S
  • GL_TEXTURE_WRAP_T
  • GL_TRIANGLES
  • GL_TRIANGLE_FAN
  • GL_TRIANGLE_STRIP
  • GL_TRUE
  • GL_UNPACK_ALIGNMENT
  • GL_UNSIGNED_BYTE
  • GL_UNSIGNED_INT
  • GL_UNSIGNED_SHORT
  • GL_UNSIGNED_SHORT_4_4_4_4
  • GL_UNSIGNED_SHORT_5_5_5_1
  • GL_UNSIGNED_SHORT_5_6_5
  • GL_VALIDATE_STATUS
  • GL_VENDOR
  • GL_VERSION
  • GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
  • GL_VERTEX_ATTRIB_ARRAY_ENABLED
  • GL_VERTEX_ATTRIB_ARRAY_NORMALIZED
  • GL_VERTEX_ATTRIB_ARRAY_POINTER
  • GL_VERTEX_ATTRIB_ARRAY_SIZE
  • GL_VERTEX_ATTRIB_ARRAY_STRIDE
  • GL_VERTEX_ATTRIB_ARRAY_TYPE
  • GL_VERTEX_SHADER
  • GL_VIEWPORT
  • GL_ZERO

vispy.gloo.gl.ext

  • glBindVertexArray()
  • glCompressedTexImage3D()
  • glCompressedTexSubImage3D()
  • glCopyTexSubImage3D()
  • glDeleteVertexArrays()
  • glFramebufferTexture3D()
  • glGenVertexArrays()
  • glGetBufferPointerv()
  • glGetProgramBinary()
  • glIsVertexArray()
  • glMapBuffer()
  • glProgramBinary()
  • glTexImage3D()
  • glTexSubImage3D()
  • glUnmapBuffer()
  • GL_ALPHA8
  • GL_BUFFER_ACCESS
  • GL_BUFFER_MAPPED
  • GL_BUFFER_MAP_POINTER
  • GL_DEPTH24_STENCIL8
  • GL_DEPTH_COMPONENT16
  • GL_DEPTH_COMPONENT24
  • GL_DEPTH_COMPONENT32
  • GL_DEPTH_STENCIL
  • GL_EGL_image
  • GL_EGL_image_external
  • GL_ETC1_RGB8
  • GL_FRAGMENT_SHADER_DERIVATIVE_HINT
  • GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET
  • GL_FRAMEBUFFER_UNDEFINED
  • GL_HALF_FLOAT
  • GL_INT_10_10_10_2
  • GL_LUMINANCE4_ALPHA4
  • GL_LUMINANCE8
  • GL_LUMINANCE8_ALPHA8
  • GL_MAX_3D_TEXTURE_SIZE
  • GL_NUM_PROGRAM_BINARY_FORMATS
  • GL_PALETTE4_R5_G6_B5
  • GL_PALETTE4_RGB5_A1
  • GL_PALETTE4_RGB8
  • GL_PALETTE4_RGBA4
  • GL_PALETTE4_RGBA8
  • GL_PALETTE8_R5_G6_B5
  • GL_PALETTE8_RGB5_A1
  • GL_PALETTE8_RGB8
  • GL_PALETTE8_RGBA4
  • GL_PALETTE8_RGBA8
  • GL_PROGRAM_BINARY_FORMATS
  • GL_PROGRAM_BINARY_LENGTH
  • GL_REQUIRED_TEXTURE_IMAGE_UNITS
  • GL_RGB565
  • GL_RGB5_A1
  • GL_RGB8
  • GL_RGBA4
  • GL_RGBA8
  • GL_SAMPLER_3D
  • GL_SAMPLER_EXTERNAL
  • GL_STENCIL_INDEX1
  • GL_STENCIL_INDEX4
  • GL_TEXTURE_3D
  • GL_TEXTURE_BINDING_3D
  • GL_TEXTURE_BINDING_EXTERNAL
  • GL_TEXTURE_EXTERNAL
  • GL_TEXTURE_WRAP_R
  • GL_UNSIGNED_INT_10_10_10_2
  • GL_UNSIGNED_INT_24_8
  • GL_VERTEX_ARRAY_BINDING
  • GL_WRITE_ONLY
  • GL_compressed_ETC1_RGB8_texture
  • GL_compressed_paletted_texture
  • GL_depth24
  • GL_depth32
  • GL_depth_texture
  • GL_element_index_uint
  • GL_fbo_render_mipmap
  • GL_fragment_precision_high
  • GL_get_program_binary
  • GL_mapbuffer
  • GL_packed_depth_stencil
  • GL_required_internalformat
  • GL_rgb8_rgba8
  • GL_standard_derivatives
  • GL_stencil1
  • GL_stencil4
  • GL_surfaceless_context
  • GL_texture_3D
  • GL_texture_float
  • GL_texture_float_linear
  • GL_texture_half_float
  • GL_texture_half_float_linear
  • GL_texture_npot
  • GL_vertex_array_object
  • GL_vertex_half_float
  • GL_vertex_type_10_10_10_2