glEndList
glEndListNAMEglNewList, glEndList -- create or replace a display listC SPECIFICATIONvoid glNewList(GLuint list,GLenum mode)PARAMETERSlistSpecifies the display list name.modeSpecifies the compilation mode, which can be GL_COMPILE or GL_COMPILE_AND_EXECUTE.C SPECIFICATIONvoid glEndList(void void)DESCRIPTIONDisplay lists are groups of GL commands that have been stored for subsequent execution. The display lists are created with glNewList. All subsequent commands are placed in the display list, in the order issued, until glEndList is called.glNewList has two arguments. The first argument, list, is a positive integer that becomes the unique name for the display list. Names can be created and reserved with glGenLists and tested for uniqueness with glIsList. The second argument, mode, is a symbolic constant that can assume one of two values:GL_COMPILECommands are merely compiled.GL_COMPILE_AND_EXECUTE
基本内容
glEndList
NAME
glNewList, glEndList -- create or replace a display list
C SPECIFICATION
void glNewList(GLuint list,
GLenum mode)
PARAMETERS
list
Specifies the display list name.
mode
Specifies the compilation mode, which can be GL_COMPILE or GL_COMPILE_AND_EXECUTE.
C SPECIFICATION
void glEndList(void void)
DESCRIPTION
Display lists are groups of GL commands that have been stored for subsequent execution. The display lists are created with glNewList. All subsequent commands are placed in the display list, in the order issued, until glEndList is called.
glNewList has two arguments. The first argument, list, is a positive integer that becomes the unique name for the display list. Names can be created and reserved with glGenLists and tested for uniqueness with glIsList. The second argument, mode, is a symbolic constant that can assume one of two values:
GL_COMPILE
Commands are merely compiled.