GLContext.getVersion

Retrieves the OpenGL version of the context.

The context must be realized prior to calling this function.

class GLContext
void
getVersion
(
out int major
,
out int minor
)

Parameters

major int

return location for the major version

minor int

return location for the minor version

Meta

Since

3.16