OpenGL.platform | index /build/buildd/pyopengl-3.0.0~b3/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.platform.implementation
namespace using the pkg_resources module (by the setup.py
module). You can register new platform implementations
via pkg_resources to support an as-yet unsupported platform,
though you are encouraged to donate the module 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 8268148 at 823ee2c> GLE = <CDLL 'libgle.so.3', handle 826b078 at 823ec6c> GLU = <CDLL 'libGLU.so.1', handle 826a4b8 at 823edcc> GLUT = <CDLL 'libglut.so.3', handle 826ae08 at 823eb8c> GLUT_GUARD_CALLBACKS = False OpenGL = <CDLL 'libGL.so.1', handle 8268148 at 823ee2c> PLATFORM = <OpenGL.platform.glx.GLXPlatform object at 0x836942c> __file__ = '/build/buildd/pyopengl-3.0.0~b3/OpenGL/platform/__init__.py' __name__ = 'OpenGL.platform' __path__ = ['/build/buildd/pyopengl-3.0.0~b3/OpenGL/platform'] |