Quick search

Table Of Contents

OpenGL

This module is a Python wrapper for OpenGL commands.

警告

Not every OpenGL command has been wrapped and because we are using the C binding for higher performance, and you should rather stick to the Kivy Graphics API. By using OpenGL commands directly, you might change the OpenGL context and introduce inconsistency between the Kivy state and the OpenGL state.

kivy.graphics.opengl.glActiveTexture()

See: glActiveTexture() on Kronos website

kivy.graphics.opengl.glAttachShader()

See: glAttachShader() on Kronos website

kivy.graphics.opengl.glBindAttribLocation()

See: glBindAttribLocation() on Kronos website

kivy.graphics.opengl.glBindBuffer()

See: glBindBuffer() on Kronos website

kivy.graphics.opengl.glBindFramebuffer()

See: glBindFramebuffer() on Kronos website

kivy.graphics.opengl.glBindRenderbuffer()

See: glBindRenderbuffer() on Kronos website

kivy.graphics.opengl.glBindTexture()

See: glBindTexture() on Kronos website

kivy.graphics.opengl.glBlendColor()

See: glBlendColor() on Kronos website

kivy.graphics.opengl.glBlendEquation()

See: glBlendEquation() on Kronos website

kivy.graphics.opengl.glBlendEquationSeparate()

See: glBlendEquationSeparate() on Kronos website

kivy.graphics.opengl.glBlendFunc()

See: glBlendFunc() on Kronos website

kivy.graphics.opengl.glBlendFuncSeparate()

See: glBlendFuncSeparate() on Kronos website

kivy.graphics.opengl.glBufferData()

See: glBufferData() on Kronos website

kivy.graphics.opengl.glBufferSubData()

See: glBufferSubData() on Kronos website

kivy.graphics.opengl.glCheckFramebufferStatus()

See: glCheckFramebufferStatus() on Kronos website

kivy.graphics.opengl.glClear()

See: glClear() on Kronos website

kivy.graphics.opengl.glClearColor()

See: glClearColor() on Kronos website

kivy.graphics.opengl.glClearStencil()

See: glClearStencil() on Kronos website

kivy.graphics.opengl.glColorMask()

See: glColorMask() on Kronos website

kivy.graphics.opengl.glCompileShader()

See: glCompileShader() on Kronos website

kivy.graphics.opengl.glCompressedTexImage2D()

See: glCompressedTexImage2D() on Kronos website

kivy.graphics.opengl.glCompressedTexSubImage2D()

See: glCompressedTexSubImage2D() on Kronos website

kivy.graphics.opengl.glCopyTexImage2D()

See: glCopyTexImage2D() on Kronos website

kivy.graphics.opengl.glCopyTexSubImage2D()

See: glCopyTexSubImage2D() on Kronos website

kivy.graphics.opengl.glCreateProgram()

See: glCreateProgram() on Kronos website

kivy.graphics.opengl.glCreateShader()

See: glCreateShader() on Kronos website

kivy.graphics.opengl.glCullFace()

See: glCullFace() on Kronos website

kivy.graphics.opengl.glDeleteBuffers()

See: glDeleteBuffers() on Kronos website

kivy.graphics.opengl.glDeleteFramebuffers()

See: glDeleteFramebuffers() on Kronos website

kivy.graphics.opengl.glDeleteProgram()

See: glDeleteProgram() on Kronos website

kivy.graphics.opengl.glDeleteRenderbuffers()

See: glDeleteRenderbuffers() on Kronos website

kivy.graphics.opengl.glDeleteShader()

See: glDeleteShader() on Kronos website

kivy.graphics.opengl.glDeleteTextures()

See: glDeleteTextures() on Kronos website

kivy.graphics.opengl.glDepthFunc()

See: glDepthFunc() on Kronos website

kivy.graphics.opengl.glDepthMask()

See: glDepthMask() on Kronos website

kivy.graphics.opengl.glDetachShader()

See: glDetachShader() on Kronos website

kivy.graphics.opengl.glDisable()

See: glDisable() on Kronos website

kivy.graphics.opengl.glDisableVertexAttribArray()

See: glDisableVertexAttribArray() on Kronos website

kivy.graphics.opengl.glDrawArrays()

See: glDrawArrays() on Kronos website

kivy.graphics.opengl.glDrawElements()

See: glDrawElements() on Kronos website

kivy.graphics.opengl.glEnable()

See: glEnable() on Kronos website

kivy.graphics.opengl.glEnableVertexAttribArray()

See: glEnableVertexAttribArray() on Kronos website

kivy.graphics.opengl.glFinish()

See: glFinish() on Kronos website

kivy.graphics.opengl.glFlush()

See: glFlush() on Kronos website

kivy.graphics.opengl.glFramebufferRenderbuffer()

See: glFramebufferRenderbuffer() on Kronos website

kivy.graphics.opengl.glFramebufferTexture2D()

See: glFramebufferTexture2D() on Kronos website

kivy.graphics.opengl.glFrontFace()

See: glFrontFace() on Kronos website

kivy.graphics.opengl.glGenBuffers()

See: glGenBuffers() on Kronos website

Unlike the C specification, the value will be the result of call.

kivy.graphics.opengl.glGenFramebuffers()

See: glGenFramebuffers() on Kronos website

Unlike the C specification, the value will be the result of call.

kivy.graphics.opengl.glGenRenderbuffers()

See: glGenRenderbuffers() on Kronos website

Unlike the C specification, the value will be the result of call.

kivy.graphics.opengl.glGenTextures()

See: glGenTextures() on Kronos website

Unlike the C specification, the value will be the result of call.

kivy.graphics.opengl.glGenerateMipmap()

See: glGenerateMipmap() on Kronos website

kivy.graphics.opengl.glGetActiveAttrib()

See: glGetActiveAttrib() on Kronos website

Unlike the C specification, the value will be the result of call.

kivy.graphics.opengl.glGetActiveUniform()

See: glGetActiveUniform() on Kronos website

Unlike the C specification, the value will be the result of call.

kivy.graphics.opengl.glGetAttachedShaders()

See: glGetAttachedShaders() on Kronos website

Unlike the C specification, the value will be the result of call.

kivy.graphics.opengl.glGetAttribLocation()

See: glGetAttribLocation() on Kronos website

Unlike the C specification, the value will be the result of call.

kivy.graphics.opengl.glGetBooleanv()

See: glGetBooleanv() on Kronos website

Unlike the C specification, the value will be the result of call.

kivy.graphics.opengl.glGetBufferParameteriv()

See: glGetBufferParameteriv() on Kronos website

Unlike the C specification, the value will be the result of call.

kivy.graphics.opengl.glGetError()

See: glGetError() on Kronos website

Unlike the C specification, the value will be the result of call.

kivy.graphics.opengl.glGetFloatv()

See: glGetFloatv() on Kronos website

Unlike the C specification, the value will be the result of call.

kivy.graphics.opengl.glGetFramebufferAttachmentParameteriv()

See: glGetFramebufferAttachmentParameteriv() on Kronos website

Unlike the C specification, the value will be the result of call.

kivy.graphics.opengl.glGetIntegerv()

See: glGetIntegerv() on Kronos website

Unlike the C specification, the value(s) will be the result of the call

kivy.graphics.opengl.glGetProgramInfoLog()

See: glGetProgramInfoLog() on Kronos website

Unlike the C specification, the source code will be returned as a string.

kivy.graphics.opengl.glGetProgramiv()

See: glGetProgramiv() on Kronos website

Unlike the C specification, the value(s) will be the result of the call

kivy.graphics.opengl.glGetRenderbufferParameteriv()

See: glGetRenderbufferParameteriv() on Kronos website

Unlike the C specification, the value will be the result of call.

kivy.graphics.opengl.glGetShaderInfoLog()

See: glGetShaderInfoLog() on Kronos website

Unlike the C specification, the source code will be returned as a string.

kivy.graphics.opengl.glGetShaderPrecisionFormat()

See: glGetShaderPrecisionFormat() on Kronos website

警告

Not implemented yet.

kivy.graphics.opengl.glGetShaderSource()

See: glGetShaderSource() on Kronos website

Unlike the C specification, the source code will be returned as a string.

kivy.graphics.opengl.glGetShaderiv()

See: glGetShaderiv() on Kronos website

Unlike the C specification, the value will be the result of call.

kivy.graphics.opengl.glGetString()

See: glGetString() on Kronos website

Unlike the C specification, the value will be returned as a string.

kivy.graphics.opengl.glGetTexParameterfv()

See: glGetTexParameterfv() on Kronos website

kivy.graphics.opengl.glGetTexParameteriv()

See: glGetTexParameteriv() on Kronos website

kivy.graphics.opengl.glGetUniformLocation()

See: glGetUniformLocation() on Kronos website

kivy.graphics.opengl.glGetUniformfv()

See: glGetUniformfv() on Kronos website

kivy.graphics.opengl.glGetUniformiv()

See: glGetUniformiv() on Kronos website

kivy.graphics.opengl.glGetVertexAttribPointerv()

See: glGetVertexAttribPointerv() on Kronos website

警告

Not implemented yet.

kivy.graphics.opengl.glGetVertexAttribfv()

See: glGetVertexAttribfv() on Kronos website

kivy.graphics.opengl.glGetVertexAttribiv()

See: glGetVertexAttribiv() on Kronos website

kivy.graphics.opengl.glHint()

See: glHint() on Kronos website

kivy.graphics.opengl.glIsBuffer()

See: glIsBuffer() on Kronos website

kivy.graphics.opengl.glIsEnabled()

See: glIsEnabled() on Kronos website

kivy.graphics.opengl.glIsFramebuffer()

See: glIsFramebuffer() on Kronos website

kivy.graphics.opengl.glIsProgram()

See: glIsProgram() on Kronos website

kivy.graphics.opengl.glIsRenderbuffer()

See: glIsRenderbuffer() on Kronos website

kivy.graphics.opengl.glIsShader()

See: glIsShader() on Kronos website

kivy.graphics.opengl.glIsTexture()

See: glIsTexture() on Kronos website

kivy.graphics.opengl.glLineWidth()

See: glLineWidth() on Kronos website

kivy.graphics.opengl.glLinkProgram()

See: glLinkProgram() on Kronos website

kivy.graphics.opengl.glPixelStorei()

See: glPixelStorei() on Kronos website

kivy.graphics.opengl.glPolygonOffset()

See: glPolygonOffset() on Kronos website

kivy.graphics.opengl.glReadPixels()

See: glReadPixels() on Kronos website

We support only GL_RGB/GL_RGBA as a format and GL_UNSIGNED_BYTE as a type.

kivy.graphics.opengl.glReleaseShaderCompiler()

See: glReleaseShaderCompiler() on Kronos website

警告

Not implemented yet.

kivy.graphics.opengl.glRenderbufferStorage()

See: glRenderbufferStorage() on Kronos website

kivy.graphics.opengl.glSampleCoverage()

See: glSampleCoverage() on Kronos website

kivy.graphics.opengl.glScissor()

See: glScissor() on Kronos website

kivy.graphics.opengl.glShaderBinary()

See: glShaderBinary() on Kronos website

警告

Not implemented yet.

kivy.graphics.opengl.glShaderSource()

See: glShaderSource() on Kronos website

kivy.graphics.opengl.glStencilFunc()

See: glStencilFunc() on Kronos website

kivy.graphics.opengl.glStencilFuncSeparate()

See: glStencilFuncSeparate() on Kronos website

kivy.graphics.opengl.glStencilMask()

See: glStencilMask() on Kronos website

kivy.graphics.opengl.glStencilMaskSeparate()

See: glStencilMaskSeparate() on Kronos website

kivy.graphics.opengl.glStencilOp()

See: glStencilOp() on Kronos website

kivy.graphics.opengl.glStencilOpSeparate()

See: glStencilOpSeparate() on Kronos website

kivy.graphics.opengl.glTexImage2D()

See: glTexImage2D() on Kronos website

kivy.graphics.opengl.glTexParameterf()

See: glTexParameterf() on Kronos website

kivy.graphics.opengl.glTexParameterfv()

See: glTexParameterfv() on Kronos website

警告

Not implemented yet.

kivy.graphics.opengl.glTexParameteri()

See: glTexParameteri() on Kronos website

kivy.graphics.opengl.glTexParameteriv()

See: glTexParameteriv() on Kronos website

警告

Not implemented yet.

kivy.graphics.opengl.glTexSubImage2D()

See: glTexSubImage2D() on Kronos website

kivy.graphics.opengl.glUniform1f()

See: glUniform1f() on Kronos website

kivy.graphics.opengl.glUniform1fv()

See: glUniform1fv() on Kronos website

警告

Not implemented yet.

kivy.graphics.opengl.glUniform1i()

See: glUniform1i() on Kronos website

kivy.graphics.opengl.glUniform1iv()

See: glUniform1iv() on Kronos website

警告

Not implemented yet.

kivy.graphics.opengl.glUniform2f()

See: glUniform2f() on Kronos website

kivy.graphics.opengl.glUniform2fv()

See: glUniform2fv() on Kronos website

警告

Not implemented yet.

kivy.graphics.opengl.glUniform2i()

See: glUniform2i() on Kronos website

kivy.graphics.opengl.glUniform2iv()

See: glUniform2iv() on Kronos website

警告

Not implemented yet.

kivy.graphics.opengl.glUniform3f()

See: glUniform3f() on Kronos website

kivy.graphics.opengl.glUniform3fv()

See: glUniform3fv() on Kronos website

警告

Not implemented yet.

kivy.graphics.opengl.glUniform3i()

See: glUniform3i() on Kronos website

kivy.graphics.opengl.glUniform3iv()

See: glUniform3iv() on Kronos website

警告

Not implemented yet.

kivy.graphics.opengl.glUniform4f()

See: glUniform4f() on Kronos website

警告

Not implemented yet.

kivy.graphics.opengl.glUniform4fv()

See: glUniform4fv() on Kronos website

警告

Not implemented yet.

kivy.graphics.opengl.glUniform4i()

See: glUniform4i() on Kronos website

kivy.graphics.opengl.glUniform4iv()

See: glUniform4iv() on Kronos website

警告

Not implemented yet.

kivy.graphics.opengl.glUniformMatrix2fv()

See: glUniformMatrix2fv() on Kronos website

警告

Not implemented yet.

kivy.graphics.opengl.glUniformMatrix3fv()

See: glUniformMatrix3fv() on Kronos website

警告

Not implemented yet.

kivy.graphics.opengl.glUniformMatrix4fv()

See: glUniformMatrix4fv() on Kronos website

kivy.graphics.opengl.glUseProgram()

See: glUseProgram() on Kronos website

kivy.graphics.opengl.glValidateProgram()

See: glValidateProgram() on Kronos website

kivy.graphics.opengl.glVertexAttrib1f()

See: glVertexAttrib1f() on Kronos website

kivy.graphics.opengl.glVertexAttrib1fv()

See: glVertexAttrib1fv() on Kronos website

警告

Not implemented yet.

kivy.graphics.opengl.glVertexAttrib2f()

See: glVertexAttrib2f() on Kronos website

kivy.graphics.opengl.glVertexAttrib2fv()

See: glVertexAttrib2fv() on Kronos website

警告

Not implemented yet.

kivy.graphics.opengl.glVertexAttrib3f()

See: glVertexAttrib3f() on Kronos website

kivy.graphics.opengl.glVertexAttrib3fv()

See: glVertexAttrib3fv() on Kronos website

警告

Not implemented yet.

kivy.graphics.opengl.glVertexAttrib4f()

See: glVertexAttrib4f() on Kronos website

kivy.graphics.opengl.glVertexAttrib4fv()

See: glVertexAttrib4fv() on Kronos website

警告

Not implemented yet.

kivy.graphics.opengl.glVertexAttribPointer()

See: glVertexAttribPointer() on Kronos website

kivy.graphics.opengl.glViewport()

See: glViewport() on Kronos website