I believe you're asking whether pyglet
has complete bindings for OpenGL or not.
In the documentation, The OpenGL interface says yes:
pyglet provides an interface to OpenGL and GLU… You can access this interface directly; using it is much like using OpenGL from C… The interface is a "thin-wrapper" around [OpenGL]… it is always up-to-date with the latest version and almost all extensions.
However, as that page warns, the wrapper is very thin, and "you will need a good knowledge of OpenGL, C and ctypes." If that's a problem:
You may prefer to use … PyOpenGL. PyOpenGL provides similar functionality with a more "Pythonic" interface, and will work with pyglet without any modification.
So, you have two choices:
- Use just
pyglet
, if you understand (and like) OpenGL and C-style interfaces. - Use
pyglet
andPyOpenGL
together if you prefer nicer interfaces to OpenGL.
Either way, you will have full access to all of the power of OpenGL.