Signature
Parameters
Variables | Description |
---|---|
range |
Specifies the number of contiguous empty display lists
to be generated.
|
Description
glGenLists
has one argument,
range
.
It returns an integer
n
such that
range
contiguous
empty display lists,
named
,
,
,
,
are created.
If
range
is 0,
if there is no group of
range
contiguous names available,
or if any error is generated,
no display lists are generated,
and 0 is returned.
Errors
GL_INVALID_VALUE
is generated if
range
is negative.
GL_INVALID_OPERATION
is generated if
glGenLists
is executed between the execution of
glBegin
and the corresponding execution of
glEnd
.
Associated Gets
See Also
Copyright
Copyright
1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
http://oss.sgi.com/projects/FreeB/
.
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
{LGPL or GPL or MPL} Kamaelia
Code/Python/Kamaelia/Kamaelia/Visualisation/PhysicsGraph3D/TopologyViewer3D.py
Lines: 498
{LGPL or GPL or MPL} Kamaelia
Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/OpenGLComponent.py
Lines: 386
{LGPL or GPL or MPL} Kamaelia
Sketches/MPS/BugReports/FixTests/Kamaelia/Kamaelia/Visualisation/PhysicsGraph3D/TopologyViewer3D.py
Lines: 498
{LGPL or GPL or MPL} Kamaelia
Sketches/MPS/BugReports/FixTests/Kamaelia/Kamaelia/UI/OpenGL/OpenGLComponent.py
Lines: 389
{LGPL or GPL or MPL} Kamaelia
Sketches/THF/Packages/Kamaelia/Community/THF/Kamaelia/UI/OpenGL/OpenGLComponent.py
Lines: 386