gluTessCallback

define a callback for a tessellation object

Signature

gluTessCallback( GLUtesselator* ( tess ) , GLenum ( which ) , _GLUfuncptr ( CallBackFunc ) )-> void
gluTessCallback( tess , which , function )
Set a given gluTessellator callback for the given tessellator

Parameters

VariablesDescription
tess
Specifies the tessellation object (created with gluNewTess ).
which
Specifies the callback being defined. The following values are valid: GLU_TESS_BEGIN , GLU_TESS_BEGIN_DATA , GLU_TESS_EDGE_FLAG , GLU_TESS_EDGE_FLAG_DATA , GLU_TESS_VERTEX , GLU_TESS_VERTEX_DATA , GLU_TESS_END , GLU_TESS_END_DATA , GLU_TESS_COMBINE , GLU_TESS_COMBINE_DATA , GLU_TESS_ERROR , and GLU_TESS_ERROR_DATA .
CallBackFunc
Specifies the function to be called.

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

gluTessCallback
OpenGLContext tests/glu_tess2.py Lines: 55, 60, 61, 65
OpenGLContext OpenGLContext/scenegraph/polygontessellator.py Lines: 39, 40, 41, 42
{LGPL} PyMT pymt/lib/squirtle.py Lines: 21, 867, 868, 869, 870, 871
{LGPL} PyMT pymt/graphx/bezier.py Lines: 41, 160, 161, 162, 163