MirOS Manual: glGenLists(3)


GLGENLISTS(3G)      UNIX Programmer's Manual       GLGENLISTS(3G)

NAME

     glGenLists - 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.

DESCRIPTION

     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 exe-
     cution of glEnd.

ASSOCIATED GETS

     glIsList

SEE ALSO

     glCallList(3G), glCallLists(3G), glDeleteLists(3G),
     glNewList(3G)

MirOS BSD #10-current   Printed 20.2.2012                       1

Generated on 2012-02-20 02:47:02 by $MirOS: src/scripts/roff2htm,v 1.70 2011/12/03 18:21:12 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002‒2011 The MirOS Project, Germany.
This product includes material provided by Thorsten Glaser.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.