GLQuery.glExtension

Determines whether a given OpenGL extension is supported. There must be a valid current rendering context to call gdk_gl_query_gl_extension(). gdk_gl_query_gl_extension() returns information about OpenGL extensions only. This means that window system dependent extensions (for example, GLX extensions) are not reported by gdk_gl_query_gl_extension().

class GLQuery
static
int
glExtension
(
string extension
)

Parameters

extension string

name of OpenGL extension.

Return Value

Type: int

TRUE if the OpenGL extension is supported, FALSE if not supported.

Meta