ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



GLUGETSTRING(3G)                                                                            GLUGETSTRING(3G)



NAME
       gluGetString - return a string describing the GLU version or GLU extensions


C SPECIFICATION
       const GLubyte * gluGetString( GLenum name )


PARAMETERS
       name  Specifies a symbolic constant, one of GLU_VERSION, or GLU_EXTENSIONS.

DESCRIPTION
       gluGetString  returns  a  pointer to a static string describing the GLU version or the GLU extensions
       that are supported.

       The version number is one of the following forms:

       major_number.minor_number
       major_number.minor_number.release_number.

       The version string is of the following form:

       version number<space>vendor-specific information

       Vendor-specific information is optional.  Its format and contents depend on the implementation.

       The standard GLU contains a basic set of features and capabilities.  If a company or group of  compa-nies companies
       nies  wish  to  support  other  features, these may be included as extensions to the GLU.  If name is
       GLU_EXTENSIONS, then gluGetString returns a space-separated list of names  of  supported  GLU  exten-sions. extensions.
       sions.  (Extension names never contain spaces.)

       All strings are null-terminated.

NOTES
       gluGetString  only  returns  information  about  GLU extensions. Call glGetString to get a list of GL
       extensions.

       gluGetString is an initialization routine. Calling it after a glNewList results in  undefined  behav-ior. behavior.
       ior.

ERRORS
       NULL is returned if name is not GLU_VERSION or GLU_EXTENSIONS.


SEE ALSO
       glGetString(3G)





                                                                                            GLUGETSTRING(3G)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.