glGetString Function

Syntax

GL_APICALL const GLubyte *GL_APIENTRY glGetString(
     GLenum name
);

Parameters

Name Description
in name Name of the parameter to get

Return Values

The obtained parameter string.

Description

Gets parameters related to the GL implementation.

You can set name to GL_VENDOR, GL_RENDERER, GL_VERSION, or GL_EXTENSIONS.

You cannot specify GL_SHADING_LANGUAGE_VERSION from the OpenGL ES 2.0 standard.

This function generates the following errors.

GL_INVALID_ENUMThe name argument was set to an invalid value.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL