glListBase

set the display-list base for

Signature

glListBase( GLuint ( base ) )-> void
glListBase( base )

Parameters

VariablesDescription
base
Specifies an integer offset that will be added to glCallLists offsets to generate display-list names. The initial value is 0.

Description

glCallLists specifies an array of offsets. Display-list names are generated by adding base to each offset. Names that reference valid display lists are executed; the others are ignored.

Errors

GL_INVALID_OPERATION is generated if glListBase is executed between the execution of glBegin and the corresponding execution of glEnd .

Associated Gets

glGet with argument GL_LIST_BASE

See Also

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glListBase
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson13.py Lines: 103