GLContext.getCurrentGlApi

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

class GLContext
static
getCurrentGlApi

Parameters

platform gstgl.types.GLPlatform

the #GstGLPlatform to retrieve the API for

major uint

the major version

minor uint

the minor version

Return Value

Type: gstgl.types.GLAPI

The version supported by the OpenGL context current in the calling thread or gstgl.types.GLAPI.None