Web design - OpenGL Super Bible! Page 69 auxInitDisplayMode Purpose Initializes

OpenGL Super Bible! Page 69 auxInitDisplayMode Purpose Initializes the display mode of the AUX library OpenGL window. Include File Syntax void auxInitDisplayMode(GLbitfield mask); Description This is the first function that must be called by an AUX library- based program to set up the OpenGL window. This function sets the characteristics of the window that OpenGL will use for drawing operations. Parameters mask GLbitfield: A mask or bitwise combination of masks from Table 3-4. These mask values may be combined with a bitwise OR. For example, to create a window that uses double buffering and color index mode, call auxInitDisplayMode(AUX_DOUBLE | AUX_INDEX) Returns None. Example See any example program from this chapter. See Also auxInitPosition, auxInitWindow Table 3-4 Mask values for window characteristics Mask Value Meaning AUX_SINGLE Specifies a single-buffered window AUX_DOUBLE Specifies a double-buffered window AUX_RGBA Specifies an RGBA-mode window AUX_INDEX Specifies a color-index mode window AUX_DEPTH Specifies a 32-bit depth buffer AUX_DEPTH16 Specifies a 16-bit depth buffer AUX_STENCIL Specifies a stencil buffer AUX_ACCUM Specifies an accumulation buffer
Note: If you are looking for cheap and reliable webhost to host and run your mysql application check Vision mysql hosting services

Leave a Reply