Trees | Indices | Toggle frames |
---|
Information interface for a single GL context.
A default instance is created automatically when the first OpenGL context is created. You can use the module functions as a convenience for this default instance's methods.
If you are using more than one context, you must call set_active_context when the context is active for this GLInfo instance.
set_active_context(self)
Store information for the currently active context.
|
|
remove_active_context(self) | |
bool |
have_extension(self,
extension)
Determine if an OpenGL extension is available.
|
list of str |
get_extensions(self)
Get a list of available OpenGL extensions.
|
str |
get_version(self)
Get the current OpenGL version.
|
bool |
have_version(self,
major,
minor=0,
release=0)
Determine if a version of OpenGL is supported.
|
str |
get_renderer(self)
Determine the renderer string of the OpenGL context.
|
str |
get_vendor(self)
Determine the vendor string of the OpenGL context.
|
have_context = False
|
|
version =
|
|
vendor =
|
|
renderer =
|
|
extensions =
|
Store information for the currently active context.
This method is called automatically for the default context.
Trees | Indices | Toggle frames |
---|
Generated by Epydoc 3.0beta1 on Thu Dec 31 17:58:18 2009 | http://epydoc.sourceforge.net |