glGenLists
NAME
glGenLists -- generate a contiguous set of empty display lists
C SPECIFICATION
GLuint glGenLists(GLsizei range)
PARAMETERS
- 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 n,
n+1, ..., n+range-1, are created. If range is
zero, if there is no group of range contiguous names available, or if
any error is generated, no display lists are generated, and zero is returned.
ERRORS
GL_INVALID_VALUE is generated if range is negative.
GL_INVALID_OPERATION is generated if glGenLists is called
between a call to glBegin and the
corresponding call to glEnd.
ASSOCIATED GETS
glIsList
SEE ALSO
glCallList,
glCallLists,
glDeleteLists,
glNewList
back to the OpenGL index page
© 1995 Uwe Behrens. All rights reserved.