Gets a string that describes the GLU version number or supported GLU extension calls.
Returns a string describing the GLU version or the GLU extensions that are supported.
gluGetString returns a string describing the GLU version or the GLU extensions that are supported. When name is GLU_VERSION, the returned string is a value that represents the version number of GLU. The format of the version number is as follows:
<version number><space><vendor-specific information> (for example, "1.2.11 Microsoft Windows NT")
The version number has the form "major_number.minor_number" or "major_number.minor_number.release_number". The vendor-specific information is optional, and the format and contents depend on the implementation.
When name is GLU_EXTENSIONS, the returned string contains a list of names of supported GLU extensions that are separated by spaces. The format of the returned list of names is as follows:
<extension_name><space><extension_name><space> . . . (for example, "GLU_NURBS GL_TESSELATION")
The extension names cannot contain any spaces.
NOTES
The gluGetString function is valid for GLU version 1.1 or later.
All strings are NULL-terminated.
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 behavior.
ERRORS
NULL
is returned if name is not GLU_VERSION or GLU_EXTENSIONS.
Glu Class | Tao.OpenGl Namespace | glGetString