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().

struct GLQuery
static
bool
glExtension
(
string extension
)

Parameters

extension string

name of OpenGL extension.

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