GLContext.getCurrentGlApi

gstgl.types.GLAPI getCurrentGlApi(gstgl.types.GLPlatform platform, out uint major, out uint minor)

If an error occurs, major and minor are not modified and [gstgl.types.GLAPI.None] is returned.

Parameters

platformthe #GstGLPlatform to retrieve the API for
majorthe major version
minorthe minor version

Returns

The version supported by the OpenGL context current in the calling

thread or [gstgl.types.GLAPI.None]