1GLGENLISTS(3G) OpenGL Manual GLGENLISTS(3G)
2
3
4
6 glGenLists - generate a contiguous set of empty display lists
7
9 GLuint glGenLists(GLsizei range);
10
12 range
13 Specifies the number of contiguous empty display lists to be
14 generated.
15
17 glGenLists has one argument, range. It returns an integer n such that
18 range contiguous empty display lists, named n, n + 1, ..., n + range -
19 1, are created. If range is 0, if there is no group of range contiguous
20 names available, or if any error is generated, no display lists are
21 generated, and 0 is returned.
22
24 GL_INVALID_VALUE is generated if range is negative.
25
26 GL_INVALID_OPERATION is generated if glGenLists is executed between the
27 execution of glBegin() and the corresponding execution of glEnd().
28
30 glIsList()
31
33 glCallList(), glCallLists(), glDeleteLists(), glNewList()
34
36 Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
37 under the SGI Free Software B License. For details, see
38 http://oss.sgi.com/projects/FreeB/.
39
41 opengl.org
42
43
44
45opengl.org 07/13/2018 GLGENLISTS(3G)