title | description | ms.assetid | keywords | ms.topic | ms.date | ||
---|---|---|---|---|---|---|---|
Using Display Lists |
Using Display Lists |
f5edff21-0928-4ec9-9718-5189bf8ce2d7 |
|
article |
05/31/2018 |
A display list is a group of OpenGL functions that has been stored for subsequent execution. The glNewList function begins the creation of a display list, and glEndList ends it. With few exceptions, OpenGL functions called between glNewList and glEndList are appended to the display list. (See glNewList for a list of the functions that you can't store and execute from within a display list.) To trigger the execution of a list or set of lists, use glCallList or glCallLists and supply the identifying number of a particular list or lists. You manage the indexes used to identify display lists with glGenLists, glListBase, and glIsList. To delete a set of display lists, use glDeleteLists.