GLQuery.versio

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.

struct GLQuery
static
bool
versio
(
out int major
,
out int minor
)

Parameters

major int

returns the major version number of the OpenGL extension.

minor int

returns the minor version number of the OpenGL extension.

Return: FALSE if it fails, TRUE otherwise.