glCallLists

execute a list of display lists

Signature

glCallLists( GLsizei ( n ) , GLenum ( type ) , const GLvoid * ( lists ) )-> void
glCallList( list )
glCallLists( n , type , lists )
glCallLists( bytes( lists ) or lists[] ) -> None
 Restricted version of glCallLists, takes a string or a GLuint compatible
 array data-type and passes into the base function.
 

Parameters

VariablesDescription
n
Specifies the number of display lists to be executed.
type
Specifies the type of values in lists . Symbolic constants GL_BYTE , GL_UNSIGNED_BYTE , GL_SHORT , GL_UNSIGNED_SHORT , GL_INT , GL_UNSIGNED_INT , GL_FLOAT , GL_2_BYTES , GL_3_BYTES , and GL_4_BYTES are accepted.
lists
Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type .

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.

glCallLists
OpenGLContext tests/glprint.py Lines: 63
OpenGLContext OpenGLContext/scenegraph/text/font.py Lines: 343, 357, 371, 390, 406, 419
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson13.py Lines: 107
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson44/glFont.py Lines: 86
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson43/glFreeType.py Lines: 302

Copyright Notices

This documentation is based on documentation licensed under the SGI Free Software License B.

AltStyle によって変換されたページ (->オリジナル) /