OpenGL.raw.GL.ARB.window_pos
index
/build/buildd/pyopengl-3.0.0~b3/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
       
OpenGL.arrays
OpenGL.constant
OpenGL.constants
ctypes
OpenGL.extensions
OpenGL.GL.glget
OpenGL.platform

 
Functions
       
glInitWindowPosARB()
Return boolean indicating whether this extension is available
glWindowPos2dARB(...)
glWindowPos2dARB( GLdouble(x), GLdouble(y) ) -> None
glWindowPos2dvARB(...)
glWindowPos2dvARB( GLdoubleArray(v) ) -> None
glWindowPos2fARB(...)
glWindowPos2fARB( GLfloat(x), GLfloat(y) ) -> None
glWindowPos2fvARB(...)
glWindowPos2fvARB( GLfloatArray(v) ) -> None
glWindowPos2iARB(...)
glWindowPos2iARB( GLint(x), GLint(y) ) -> None
glWindowPos2ivARB(...)
glWindowPos2ivARB( GLintArray(v) ) -> None
glWindowPos2sARB(...)
glWindowPos2sARB( GLshort(x), GLshort(y) ) -> None
glWindowPos2svARB(...)
glWindowPos2svARB( GLshortArray(v) ) -> None
glWindowPos3dARB(...)
glWindowPos3dARB( GLdouble(x), GLdouble(y), GLdouble(z) ) -> None
glWindowPos3dvARB(...)
glWindowPos3dvARB( GLdoubleArray(v) ) -> None
glWindowPos3fARB(...)
glWindowPos3fARB( GLfloat(x), GLfloat(y), GLfloat(z) ) -> None
glWindowPos3fvARB(...)
glWindowPos3fvARB( GLfloatArray(v) ) -> None
glWindowPos3iARB(...)
glWindowPos3iARB( GLint(x), GLint(y), GLint(z) ) -> None
glWindowPos3ivARB(...)
glWindowPos3ivARB( GLintArray(v) ) -> None
glWindowPos3sARB(...)
glWindowPos3sARB( GLshort(x), GLshort(y), GLshort(z) ) -> None
glWindowPos3svARB(...)
glWindowPos3svARB( GLshortArray(v) ) -> None

 
Data
        __file__ = '/build/buildd/pyopengl-3.0.0~b3/OpenGL/raw/GL/ARB/window_pos.py'
__name__ = 'OpenGL.raw.GL.ARB.window_pos'