OpenGL Super Bible! Page 387 glCallLists Purpose Executes a list of display lists. Include File Syntax void glCallLists(GLsizei n, GLenum type, const GLvoid *lists); Description This function calls the display lists listed in the *lists array sequentially. This array can be of nearly any data type. The result is converted or clamped to the nearest integer value to determine the actual index of the display list. Optionally, the list values can be offset by a value specified by the function glListBase. Parameters n GLsizei: Number of elements in the array of display lists. type GLenum: Specifies the datatype of the array stored at *lists. This can be any one of the following values: 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. *lists GLvoid: An array of elements of the type specified in type. The data type is void to allow any of the above data types to be used. Returns None. Example The following code shows how to call a list of display lists with a single call: // Storage for the display list identifiers int lists[50]; int i; // Create list names for(i = 0; i < 50; i++) lists[i] = i+1; // Build some fifty display lists ////////// // First list glNewList(lists[0],GL_COMPILE);
You want to have a cheap webhost for your apache application, then check apache web hosting services.
This entry was posted
on Tuesday, October 23rd, 2007 at 1:06 pm and is filed under Coldfusion.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.