Page 392 OpenGL Super Bible! glIsList Purpose Tests for the existence of a display list. Include File Syntax GLboolean glIsList(GLuint list ); Description This function is used to find out if a display list exists for a given identifier. You can use this function to test display list values before using them. Parameters list GLuint: The value of a potential display list. This function tests this value to see if a display list is defined for it. Returns GL_TRUE if the display list exists, otherwise GL_FALSE. Example The following code loops through an array that should contain valid display lists. The display list identifier is tested for validity, and if valid it is called int lists[25]; // Array of display lists int x; // Looping variable for(x = 0; x < 25; x++) if(glIsList(lists[x]) glCallList(); See Also glCallList, glCallLists, glDeleteLists, glGenLists, glNewList
If you are looking for affordable and reliable webhost to host and run your business application visit our ftp web hosting services.
This entry was posted
on Saturday, October 27th, 2007 at 11:16 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.