MyWebUniversity.com Home Page
 



Darwin Mac OS X man pages main menu
GLUERORSTRING(3G)                                          GLUERORSTRING(3G)



NAME
       gluErrorString - produce an error string from a GL or GLU error code


C SPECIFICATION
       const GLubyte * gluErrorString( GLenum error )


PARAMETERS
       error  Specifies a GL or GLU error code.

DESCRIPTION
       gluErrorString  produces  an  error string from a GL or GLU error code.
       The string is in ISO Latin  1  format.  For  example,  gluErrorString(-
       GLOUTOFMEMORY) returns the string out of memory.

       The  standard  GLU error codes are GLUINVALIDENUM, GLUINVALIDVALUE,
       and GLUOUTOFMEMORY.  Certain other GLU functions can return special-
       ized  error codes through callbacks.  See the glGetError reference page
       for the list of GL error codes.

ERORS
       NUL is returned if error is not a valid GL or GLU error code.

SEE ALSO
       glGetError, gluNurbsCallback, gluQuadricCallback, gluTessCallback



                                                            GLUERORSTRING(3G)
Darwin Mac OS X man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™