GLQuery

Description

Members

Static functions

extension
int extension()

Indicates whether the window system supports the OpenGL extension (GLX, WGL, etc.).

extensionForDisplay
int extensionForDisplay(Display display)

Indicates whether the window system supports the OpenGL extension (GLX, WGL, etc.).

getProcAddress
GdkGLProc getProcAddress(string procName)

Returns the address of the OpenGL, GLU, or GLX function.

glExtension
int glExtension(string extension)

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

versio
int versio(int major, int minor)

Returns the version numbers of the OpenGL extension to the window system. In the X Window System, it returns the GLX version. In the Microsoft Windows, it returns the Windows version.

versionForDisplay
int versionForDisplay(Display display, int major, int minor)

Returns the version numbers of the OpenGL extension to the window system. In the X Window System, it returns the GLX version. In the Microsoft Windows, it returns the Windows version.

Meta