---
name: "gluGetString"
section: "3x"
platform: "linux"
package: "xlibmesa-glu-dev"
version: "4.3.0.dfsg.1-14sarge7"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/gluGetString"
---

# gluGetString(3x)

return a string describing the GLU version or GLU extensions

## 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  and contents depend on the implementation.

The standard GLU contains a basic set of features and capabilities. If a company or group of companies 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 extensions. (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 behavior.

## ERRORS

NULL is returned if *name* is not **GLU\_VERSION** or **GLU\_EXTENSIONS**.

## SEE ALSO

**glGetString(3G)**
