glGenLists

generate a contiguous set of empty display lists

Signature

glGenLists( GLsizei ( range ) )-> GLuint
glGenLists( range ) -> <class 'ctypes.c_uint'>

Parameters

VariablesDescription
range
Specifies the number of contiguous empty display lists to be generated.

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.

glGenLists
OpenGLContext tests/dek_surf.py Lines: 54
OpenGLContext tests/dek_texturesurf.py Lines: 70
OpenGLContext tests/glprint.py Lines: 31
OpenGLContext tests/redbook_alpha3D.py Lines: 79, 86
OpenGLContext OpenGLContext/displaylist.py Lines: 19
OpenGLContext OpenGLContext/scenegraph/text/wxfont.py Lines: 91
OpenGLContext OpenGLContext/scenegraph/text/wglfont.py Lines: 158
OpenGL-Demo PyOpenGL-Demo/GLUT/molehill.py Lines: 139
OpenGL-Demo PyOpenGL-Demo/GLUT/gears.py Lines: 235, 241, 247
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/text.py Lines: 23
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/lorentz.py Lines: 31
OpenGL-Demo PyOpenGL-Demo/dek/texturesurf.py Lines: 92
OpenGL-Demo PyOpenGL-Demo/dek/OglSurface/triangle.py Lines: 42, 86
OpenGL-Demo PyOpenGL-Demo/tom/demo.py Lines: 83
OpenGL-Demo PyOpenGL-Demo/tom/text.py Lines: 14
OpenGL-Demo PyOpenGL-Demo/tom/lorentz.py Lines: 27
OpenGL-Demo PyOpenGL-Demo/proesch/nurbs/nurbs.py Lines: 42, 185, 190
OpenGL-Demo PyOpenGL-Demo/redbook/teapots.py Lines: 89
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson13.py Lines: 68
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson12.py Lines: 69
{Artistic License} PymmLib mmLib/OpenGLDriver.py Lines: 68
{LGPL} PyUI pyui/renderers/openglPygame.py Lines: 60, 291
{LGPL} PyUI pyui/renderers/openglGlut.py Lines: 80
{LGPL} PyUI2 renderers/openglSoya.py Lines: 58
{LGPL} PyUI2 renderers/openglPygame.py Lines: 61, 294
{LGPL} PyUI2 renderers/openglGlut.py Lines: 80
{LGPL} PyUI2 system/openglgraphics.py Lines: 46, 58, 346
{LGPL} VisionEgg VisionEgg/SphereMap.py Lines: 147, 148, 432, 651, 948, 949
{LGPL} VisionEgg VisionEgg/Textures.py Lines: 1744, 1745
{LGPL} PyMT pymt/obj.py Lines: 22, 123
{LGPL} PyMT pymt/lib/squirtle.py Lines: 15, 465
{LGPL} PyMT pymt/graphx/statement.py Lines: 53, 75
{LGPL} Pyggel pyggel/data.py Lines: 207
{LGPL} pygl2d pygl2d/image.py Lines: 121
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/Object3D.py Lines: 185
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/OpenGLComponent.py Lines: 386
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Utils/TopologyViewer3D.py Lines: 300
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/Object3D.py Lines: 185
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/OpenGLComponent.py Lines: 389
{GPL3} OpenGL-Programmable 02-displaylist.py Lines: 82