OpenGL.raw.GL.ARB.window_pos | index /build/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__ = '/build/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 0x87cc22c> glWindowPos2dvARB = <OpenGL.platform.baseplatform.glWindowPos2dvARB object at 0x87cc28c> glWindowPos2fARB = <OpenGL.platform.baseplatform.glWindowPos2fARB object at 0x87cc2cc> glWindowPos2fvARB = <OpenGL.platform.baseplatform.glWindowPos2fvARB object at 0x87cc32c> glWindowPos2iARB = <OpenGL.platform.baseplatform.glWindowPos2iARB object at 0x87cc36c> glWindowPos2ivARB = <OpenGL.platform.baseplatform.glWindowPos2ivARB object at 0x87cc3cc> glWindowPos2sARB = <OpenGL.platform.baseplatform.glWindowPos2sARB object at 0x87cc40c> glWindowPos2svARB = <OpenGL.platform.baseplatform.glWindowPos2svARB object at 0x87cc46c> glWindowPos3dARB = <OpenGL.platform.baseplatform.glWindowPos3dARB object at 0x87cc4ac> glWindowPos3dvARB = <OpenGL.platform.baseplatform.glWindowPos3dvARB object at 0x87cc50c> glWindowPos3fARB = <OpenGL.platform.baseplatform.glWindowPos3fARB object at 0x87cc54c> glWindowPos3fvARB = <OpenGL.platform.baseplatform.glWindowPos3fvARB object at 0x87cc5ac> glWindowPos3iARB = <OpenGL.platform.baseplatform.glWindowPos3iARB object at 0x87cc5ec> glWindowPos3ivARB = <OpenGL.platform.baseplatform.glWindowPos3ivARB object at 0x87cc64c> glWindowPos3sARB = <OpenGL.platform.baseplatform.glWindowPos3sARB object at 0x87cc68c> glWindowPos3svARB = <OpenGL.platform.baseplatform.glWindowPos3svARB object at 0x87cc6ec> |