have_extension Function

Defined in pyglet.gl.gl_info

have_extension(self, extension)

Determine if an OpenGL extension is available.

Parameters:extension (str) – The name of the extension to test for, including its GL_ prefix.
Returns:True if the extension is provided by the driver.
Return type:bool

Previous topic

have_context Function

Next topic

have_version Function