NAME

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

C SPECIFICATION

const GLubyte * gglluuGGeettSSttrriinngg( GLenum _n_a_m_e )

        

PARAMETERS

_n_a_m_e
Specifies a symbolic constant, one of GGLLUU__VVEERRSSIIOONN, or GGLLUU__EEXXTTEENNSSIIOONNSS.

DESCRIPTION

gglluuGGeettSSttrriinngg 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:

_m_a_j_o_r___n_u_m_b_e_r_._m_i_n_o_r___n_u_m_b_e_r
_m_a_j_o_r___n_u_m_b_e_r_._m_i_n_o_r___n_u_m_b_e_r_._r_e_l_e_a_s_e___n_u_m_b_e_r.

The version string is of the following form:

_v_e_r_s_i_o_n _n_u_m_b_e_r_<_s_p_a_c_e_>_v_e_n_d_o_r_-_s_p_e_c_i_f_i_c _i_n_f_o_r_m_a_t_i_o_n

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 _n_a_m_e is GGLLUU__EEXXTTEENNSSIIOONNSS, then gglluuGGeettSSttrriinngg returns a space-separated list of names of supported GLU extensions. (Extension names never contain spaces.)

All strings are null-terminated.

NOTES

gglluuGGeettSSttrriinngg only returns information about GLU extensions. Call ggllGGeettSSttrriinngg to get a list of GL extensions.

gglluuGGeettSSttrriinngg is an initialization routine. Calling it after a ggllNNeewwLLiisstt results in undefined behavior.

ERRORS

NULL is returned if _n_a_m_e is not GGLLUU__VVEERRSSIIOONN or GGLLUU__EEXXTTEENNSSIIOONNSS.

SEE ALSO

ggllGGeettSSttrriinngg((33GG))