OpenGL.GL.exceptional
index
/var/pylive/src/OpenGL-dev/OpenGL-ctypes/OpenGL/GL/exceptional.py

Exceptional cases that need some extra wrapping

 
Modules
       
OpenGL.raw.GL.annotations
OpenGL.arrays
OpenGL.raw.GL.constants
ctypes
OpenGL.error
OpenGL.raw.GL

 
Functions
       
glBegin(mode)
Begin GL geometry-definition mode, disable automatic error checking
glCallLists(lists)
glCallLists( str( lists ) or lists[] ) -> None 
 
Restricted version of glCallLists, takes a string or a GLuint compatible
array data-type and passes into the base function.
glColor(*args)
glColor*f* -- convenience function to dispatch on argument type
 
dispatches to glColor3f, glColor2f, glColor4f, glColor3f, glColor2f, glColor4f
depending on the arguments passed...
glDeleteTextures(array)
Delete specified set of textures
glEdgeFlagv( flag )
pyConverters: flag=
asArraySize(incoming, function, args)
cConverters: flag=<OpenGL.converters.getPyArgsName object at 0x2aaab2944af0>
cResolvers: Not Used
storeValues: Not Used
returnValues:
returnPointer(result, baseOperation, pyArgs, cArgs)
Return the converted object as result of function
 
Note: this is a hack that always returns pyArgs[0]!
Wrapping Operation: glEdgeFlagv( POINTER(GLboolean)(flag) ) -> None
glEnd()
Finish GL geometry-definition mode, re-enable automatic error checking
glGenTextures(count, textures=None)
Generate count new texture names
glIndexdv( c )
pyConverters: c=
asArraySize(incoming, function, args)
cConverters: c=<OpenGL.converters.getPyArgsName object at 0x2aaab2944640>
cResolvers: Not Used
storeValues: Not Used
returnValues:
returnPointer(result, baseOperation, pyArgs, cArgs)
Return the converted object as result of function
 
Note: this is a hack that always returns pyArgs[0]!
Wrapping Operation: glIndexdv( arrays.GLdoubleArray(c) ) -> None
glIndexfv( c )
pyConverters: c=
asArraySize(incoming, function, args)
cConverters: c=<OpenGL.converters.getPyArgsName object at 0x2aaab29447d0>
cResolvers: Not Used
storeValues: Not Used
returnValues:
returnPointer(result, baseOperation, pyArgs, cArgs)
Return the converted object as result of function
 
Note: this is a hack that always returns pyArgs[0]!
Wrapping Operation: glIndexfv( arrays.GLfloatArray(c) ) -> None
glIndexsv( c )
pyConverters: c=
asArraySize(incoming, function, args)
cConverters: c=<OpenGL.converters.getPyArgsName object at 0x2aaab2944500>
cResolvers: Not Used
storeValues: Not Used
returnValues:
returnPointer(result, baseOperation, pyArgs, cArgs)
Return the converted object as result of function
 
Note: this is a hack that always returns pyArgs[0]!
Wrapping Operation: glIndexsv( arrays.GLshortArray(c) ) -> None
glIndexubv( c )
pyConverters: c=
asArraySize(incoming, function, args)
cConverters: c=<OpenGL.converters.getPyArgsName object at 0x2aaab2944960>
cResolvers: Not Used
storeValues: Not Used
returnValues:
returnPointer(result, baseOperation, pyArgs, cArgs)
Return the converted object as result of function
 
Note: this is a hack that always returns pyArgs[0]!
Wrapping Operation: glIndexubv( arrays.GLubyteArray(c) ) -> None
glMap1(target, u1, u2, points, baseFunction, arrayType)
glMap1d(target, u1, u2, points)
glMap1d(target, u1, u2, points[][][]) -> None
 
This is a completely non-standard signature which doesn't allow for most 
of the funky uses with strides and the like, but it has been like this for
a very long time...
glMap1f(target, u1, u2, points)
glMap1f(target, u1, u2, points[][][]) -> None
 
This is a completely non-standard signature which doesn't allow for most 
of the funky uses with strides and the like, but it has been like this for
a very long time...
glMap2(target, u1, u2, v1, v2, points, baseFunction, arrayType=<class 'OpenGL.arrays.arraydatatype.GLfloatArray'>)
glMap2d(target, u1, u2, v1, v2, points)
glMap2d(target, u1, u2, v1, v2, points[][][]) -> None
 
This is a completely non-standard signature which doesn't allow for most 
of the funky uses with strides and the like, but it has been like this for
a very long time...
glMap2f(target, u1, u2, v1, v2, points)
glMap2f(target, u1, u2, v1, v2, points[][][]) -> None
 
This is a completely non-standard signature which doesn't allow for most 
of the funky uses with strides and the like, but it has been like this for
a very long time...
glMaterial(faces, constant, *args)
glMaterial -- convenience function to dispatch on argument type
 
If passed a single argument in args, calls:
        glMaterialfv( faces, constant, args[0] )
else calls:
        glMaterialf( faces, constant, *args )
glRasterPos(*args)
Choose glRasterPosX based on number of args
glRectfv( v1,v2 )
pyConverters: v1=None, v2=
asArraySize(incoming, function, args)
cConverters: v1=None, v2=<OpenGL.converters.getPyArgsName object at 0x2aaab29440a0>
cResolvers: Not Used
storeValues: Not Used
returnValues:
returnPointer(result, baseOperation, pyArgs, cArgs)
Return the converted object as result of function
 
Note: this is a hack that always returns pyArgs[0]!
Wrapping Operation: glRectfv( arrays.GLfloatArray(v1), arrays.GLfloatArray(v2) ) -> None
glRectiv( v1,v2 )
pyConverters: v1=None, v2=
asArraySize(incoming, function, args)
cConverters: v1=None, v2=<OpenGL.converters.getPyArgsName object at 0x2aaab2944280>
cResolvers: Not Used
storeValues: Not Used
returnValues:
returnPointer(result, baseOperation, pyArgs, cArgs)
Return the converted object as result of function
 
Note: this is a hack that always returns pyArgs[0]!
Wrapping Operation: glRectiv( arrays.GLintArray(v1), arrays.GLintArray(v2) ) -> None
glRectsv( v1,v2 )
pyConverters: v1=None, v2=
asArraySize(incoming, function, args)
cConverters: v1=None, v2=<OpenGL.converters.getPyArgsName object at 0x2aaab2944460>
cResolvers: Not Used
storeValues: Not Used
returnValues:
returnPointer(result, baseOperation, pyArgs, cArgs)
Return the converted object as result of function
 
Note: this is a hack that always returns pyArgs[0]!
Wrapping Operation: glRectsv( arrays.GLshortArray(v1), arrays.GLshortArray(v2) ) -> None
glTexGenfv( coord,pname,params )
pyConverters: coord=None, pname=None, params=<OpenGL.converters.CallFuncPyConverter object at 0x2aaab2940a10>
cConverters: coord=None, pname=None, params=<OpenGL.converters.getPyArgsName object at 0x2aaab2944c80>
cResolvers: Not Used
storeValues: Not Used
returnValues:
returnPointer(result, baseOperation, pyArgs, cArgs)
Return the converted object as result of function
 
Note: this is a hack that always returns pyArgs[0]!
Wrapping Operation: glTexGenfv( GLenum(coord), GLenum(pname), arrays.GLfloatArray(params) ) -> None
glTexParameter(target, pname, parameter)
Set a texture parameter, choose underlying call based on pname and parameter
glVertex(*args)
Choose glVertexX based on number of args

 
Data
        GL = <CDLL 'libGL.so.1', handle 611930 at 2b54fad04c10>
GLU = <CDLL 'libGLU.so.1', handle 614240 at 2b54fad04ad0>
__all__ = ['glBegin', 'glCallLists', 'glColor', 'glDeleteTextures', 'glEdgeFlagv', 'glEnd', 'glGenTextures', 'glIndexdv', 'glIndexfv', 'glIndexsv', 'glIndexubv', 'glMap1', 'glMap1d', 'glMap1f', 'glMap2', 'glMap2d', 'glMap2f', 'glMaterial', 'glRasterPos', 'glRectfv', ...]
glColorDispatch = {3: <OpenGL.wrapper.glColor3dv object at 0x2aaab28bb560>, 4: <OpenGL.wrapper.glColor4dv object at 0x2aaab28bd0e0>}
glRasterPosDispatch = {2: <OpenGL.wrapper.glRasterPos2dv object at 0x2aaab28cb680>, 3: <OpenGL.wrapper.glRasterPos3dv object at 0x2aaab28cbc20>, 4: <OpenGL.wrapper.glRasterPos4dv object at 0x2aaab28ce200>}
glVertexDispatch = {2: <OpenGL.wrapper.glVertex2dv object at 0x2aaab28d8128>, 3: <OpenGL.wrapper.glVertex3dv object at 0x2aaab28d86c8>, 4: <OpenGL.wrapper.glVertex4dv object at 0x2aaab28d8c68>}