4.1.5. Wrapper

PyOpenGLng.Wrapper.init(wrapper='ctypes', api='gl', api_number=None, profile='core', check_api_number=True)[source]

Initialise the OpenGL wrapper.

If the parameter api_number is None or the flag check_api_number is True, then this procedure must be called after an OpenGl context is active, else the OpenGl implementation’s version cannot be retrieved. On Linux, see the source of the Mesa 3D Graphics Library tool glxinfo for more details.

Previous topic

4.1.4.7. Timer

Next topic

4.1.5.1. CffiWrapper

This Page