| OpenGL.platform | index /tmp/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.
| Package Contents | ||
| __init__ -- Abstraction for the platform-specific code in PyOpenGL baseplatform -- Base class for platform implementations ctypesloader -- ctypes abstraction layer darwin glx -- GLX (x-windows)-specific platform features win32 | ||
| Functions | ||
| ||
| Data | ||
| GL = <CDLL 'libGL.so.1', handle 8a86fb8 at 8a62b8c> GLE = <CDLL 'libgle.so.3', handle 8934078 at 8a62b0c> GLU = <CDLL 'libGLU.so.1', handle 8933378 at 8a62b2c> GLUT = <CDLL 'libglut.so.3', handle 8933c80 at 8a62a0c> GLUT_GUARD_CALLBACKS = False OpenGL = <CDLL 'libGL.so.1', handle 8a86fb8 at 8a62b8c> PLATFORM = <OpenGL.platform.glx.GLXPlatform object at 0x8a56e6c> __file__ = '/tmp/buildd/pyopengl-3.0.0~b6/OpenGL/platform/__init__.py' __name__ = 'OpenGL.platform' __path__ = ['/tmp/buildd/pyopengl-3.0.0~b6/OpenGL/platform'] | ||