glGenLists(3x)

glGenLists3x

Generate a contiguous set of empty display lists

C specification

GLuint glGenLists( GLsizei range )


    


    

Parameters

range

Specifies the number of contiguous empty display lists to be generated.

Overview

glGenLists has one argument, range. It returns an integer n such that range contiguous empty display lists, named n, n+1, ..., n+range -1, are created. If range is 0, if there is no group of range contiguous names available, or if any error is generated, no display lists are generated, and 0 is returned.

Errors

GL_INVALID_VALUE is generated if range is negative.

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

Associated gets

glIsList

From xlibmesa-gl-dev 4.3.0.dfsg.1-14sarge7 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.