OpenGL.platform.__init__ | index /build/buildd/pyopengl-3.0.0~b6/OpenGL/platform/__init__.py |
Abstraction for the platform-specific code in PyOpenGL
Each supported platform has a module which provides the
specific functionality required to support the base OpenGL
functionality on that platform. These modules are
registered using plugins in the:
OpenGL.plugin.PlatformPlugin
objects. To support a new platform you'll need to create
a new PlatformPlugin instance *before* you import
OpenGL.platform . Once you have a working platform
module, please consider contributing it back to the project.
See baseplatform.BasePlatform for the core functionality
of a platform implementation. See the various platform
specific modules for examples to use when porting.
Modules | ||||||
|
Functions | ||
|
Data | ||
GL = <CDLL 'libGL.so.1', handle 82dcde8 at 838a54c> GLE = <CDLL 'libgle.so.3', handle 82e0f78 at 838a8cc> GLU = <CDLL 'libGLU.so.1', handle 82dfa58 at 838a70c> GLUT = <CDLL 'libglut.so.3', handle 82e0858 at 838a80c> GLUT_GUARD_CALLBACKS = False OpenGL = <CDLL 'libGL.so.1', handle 82dcde8 at 838a54c> PLATFORM = <OpenGL.platform.glx.GLXPlatform object at 0x85912cc> __file__ = '/build/buildd/pyopengl-3.0.0~b6/OpenGL/platform/__init__.pyc' __name__ = 'OpenGL.platform.__init__' |