GLContext.activate

(De)activate the OpenGL context represented by this context.

In OpenGL terms, calls eglMakeCurrent or similar with this context and the currently set window. See gstgl.glcontext.GLContext.setWindow for details.

class GLContext
bool
activate
()

Parameters

activate bool

true to activate, false to deactivate

Return Value

Type: bool

Whether the activation succeeded