1GLCALLLIST(3G) OpenGL Manual GLCALLLIST(3G)
2
3
4
6 glCallList - execute a display list
7
9 void glCallList(GLuint list);
10
12 list
13 Specifies the integer name of the display list to be executed.
14
16 glCallList causes the named display list to be executed. The commands
17 saved in the display list are executed in order, just as if they were
18 called without using a display list. If list has not been defined as a
19 display list, glCallList is ignored.
20
21 glCallList can appear inside a display list. To avoid the possibility
22 of infinite recursion resulting from display lists calling one another,
23 a limit is placed on the nesting level of display lists during
24 display-list execution. This limit is at least 64, and it depends on
25 the implementation.
26
27 GL state is not saved and restored across a call to glCallList. Thus,
28 changes made to GL state during the execution of a display list remain
29 after execution of the display list is completed. Use glPushAttrib(),
30 glPopAttrib(), glPushMatrix(), and glPopMatrix() to preserve GL state
31 across glCallList calls.
32
34 Display lists can be executed between a call to glBegin() and the
35 corresponding call to glEnd(), as long as the display list includes
36 only commands that are allowed in this interval.
37
39 glGet() with argument GL_MAX_LIST_NESTING
40
41 glIsList()
42
44 glCallLists, glDeleteLists(), glGenLists(), glNewList(),
45 glPushAttrib(), glPushMatrix()
46
48 Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
49 under the SGI Free Software B License. For details, see
50 http://oss.sgi.com/projects/FreeB/.
51
53 opengl.org
54
55
56
57opengl.org 07/13/2018 GLCALLLIST(3G)