1GLCALLLIST(3G)                   OpenGL Manual                  GLCALLLIST(3G)
2
3
4

NAME

6       glCallList - execute a display list
7

C SPECIFICATION

9       void glCallList(GLuint list);
10

PARAMETERS

12       list
13           Specifies the integer name of the display list to be executed.
14

DESCRIPTION

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

NOTES

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

ASSOCIATED GETS

39       glGet() with argument GL_MAX_LIST_NESTING
40
41       glIsList()
42

SEE ALSO

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

AUTHORS

53       opengl.org
54
55
56
57opengl.org                        07/13/2018                    GLCALLLIST(3G)
Impressum