| OpenGL.raw.GL.ARB.window_pos | index /tmp/buildd/pyopengl-3.0.0~b6/OpenGL/raw/GL/ARB/window_pos.py |
OpenGL extension ARB.window_pos
Overview (from the spec)
In order to set the current raster position to a specific window
coordinate with the RasterPos command, the modelview matrix, projection
matrix and viewport must be set very carefully. Furthermore, if the
desired window coordinate is outside of the window's bounds one must rely
on a subtle side-effect of the Bitmap command in order to avoid frustum
clipping.
This extension provides a set of functions to directly set the current
raster position in window coordinates, bypassing the modelview matrix, the
projection matrix and the viewport-to-window mapping. Furthermore, clip
testing is not performed, so that the current raster position is always
valid.
This greatly simplifies the process of setting the current raster position
to a specific window coordinate prior to calling DrawPixels, CopyPixels or
Bitmap. Many matrix operations can be avoided when mixing 2D and 3D
rendering.
The official definition of this extension is available here:
http://oss.sgi.com/projects/ogl-sample/registry/ARB/window_pos.txt
Automatically generated by the get_gl_extensions script, do not edit!
| Modules | ||||||
| ||||||
| Functions | ||
| ||
| Data | ||
| EXTENSION_NAME = 'GL_ARB_window_pos' __file__ = '/tmp/buildd/pyopengl-3.0.0~b6/OpenGL/raw/GL/ARB/window_pos.py' __name__ = 'OpenGL.raw.GL.ARB.window_pos' glWindowPos2dARB = <OpenGL.platform.baseplatform.glWindowPos2dARB object at 0x8b5ad4c> glWindowPos2dvARB = <OpenGL.platform.baseplatform.glWindowPos2dvARB object at 0x8b5adac> glWindowPos2fARB = <OpenGL.platform.baseplatform.glWindowPos2fARB object at 0x8b5adec> glWindowPos2fvARB = <OpenGL.platform.baseplatform.glWindowPos2fvARB object at 0x8b5ae4c> glWindowPos2iARB = <OpenGL.platform.baseplatform.glWindowPos2iARB object at 0x8b5ae8c> glWindowPos2ivARB = <OpenGL.platform.baseplatform.glWindowPos2ivARB object at 0x8b5aeec> glWindowPos2sARB = <OpenGL.platform.baseplatform.glWindowPos2sARB object at 0x8b5af2c> glWindowPos2svARB = <OpenGL.platform.baseplatform.glWindowPos2svARB object at 0x8b5af8c> glWindowPos3dARB = <OpenGL.platform.baseplatform.glWindowPos3dARB object at 0x8b5afcc> glWindowPos3dvARB = <OpenGL.platform.baseplatform.glWindowPos3dvARB object at 0x93ee04c> glWindowPos3fARB = <OpenGL.platform.baseplatform.glWindowPos3fARB object at 0x93ee08c> glWindowPos3fvARB = <OpenGL.platform.baseplatform.glWindowPos3fvARB object at 0x93ee0ec> glWindowPos3iARB = <OpenGL.platform.baseplatform.glWindowPos3iARB object at 0x93ee12c> glWindowPos3ivARB = <OpenGL.platform.baseplatform.glWindowPos3ivARB object at 0x93ee18c> glWindowPos3sARB = <OpenGL.platform.baseplatform.glWindowPos3sARB object at 0x93ee1cc> glWindowPos3svARB = <OpenGL.platform.baseplatform.glWindowPos3svARB object at 0x93ee22c> | ||