OpenGL.extensions
index
/home/mcfletch/pylive/OpenGL/extensions.py

Extension module support methods
 
This module provides the tools required to check whether
an extension is available

 
Modules
       
logging

 
Classes
       
object
_Alternate

 
class _Alternate(object)
     Methods defined here:
__call__(self, *args, **named)
Call, doing a late lookup and bind to find an implementation
__init__(self, name, *alternates)
Initialize set of alternative implementations of the same function
__nonzero__(self)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes defined here:
implementation = None
resolved = False

 
Functions
       
alternate(name, *functions)
Construct a callable that functions as the first implementation found of given set of alternatives
 
if name is a function then its name will be used....
getGLVersion()
Retrieve 2-int declaration of major/minor GL version
 
returns [int(major),int(minor)] or False if not loaded
hasGLExtension(specifier)
Given a string specifier, check for extension being available
hasGLUExtension(specifier)
Given a string specifier, check for extension being available

 
Data
        AVAILABLE_GLU_EXTENSIONS = []
AVAILABLE_GL_EXTENSIONS = []
CURRENT_GL_VERSION = None
VERSION_PREFIX = 'GL_VERSION_GL_'
__file__ = '/home/mcfletch/pylive/OpenGL/extensions.pyc'
__name__ = 'OpenGL.extensions'
__package__ = 'OpenGL'
log = <logging.Logger instance at 0x272aa28>