GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


Manpage of GLCALLLIST

GLCALLLIST

Index
 

NAME

glCallList - execute a display list

 

C SPECIFICATION

void f3glCallListfP( GLuint fIlistfP )


 

PARAMETERS

f2listfP
Specifies the integer name of the display list to be executed.
 

DESCRIPTION

%f3glCallListfP causes the named display list to be executed. The commands saved in the display list are executed in order, just as if they were called without using a display list. If f2listfP has not been defined as a display list, %f3glCallListfP is ignored. %f3glCallListfP can appear inside a display list. To avoid the possibility of infinite recursion resulting from display lists calling one another, a limit is placed on the nesting level of display lists during display-list execution. This limit is at least 64, and it depends on the implementation. GL state is not saved and restored across a call to %f3glCallListfP. Thus, changes made to GL state during the execution of a display list remain after execution of the display list is completed. Use %f3glPushAttribfP, %f3glPopAttribfP, %f3glPushMatrixfP, and %f3glPopMatrixfP to preserve GL state across %f3glCallListfP calls.  

NOTES

Display lists can be executed between a call to %f3glBeginfP and the corresponding call to %f3glEndfP, as long as the display list includes only commands that are allowed in this interval.  

ASSOCIATED GETS

%f3glGetfP with argument %f3GL_MAX_LIST_NESTINGfP
%f3glIsListfP  

SEE ALSO

%f3glCallLists(3G)fP, %f3glDeleteLists(3G)fP, %f3glGenLists(3G)fP, %f3glNewList(3G)fP, %f3glPushAttrib(3G)fP, %f3glPushMatrix(3G)fP


 

Index

NAME
C SPECIFICATION
PARAMETERS
DESCRIPTION
NOTES
ASSOCIATED GETS
SEE ALSO