Cogl.is_gles2_context

function is_gles2_context(object: void): Cogl.Bool {
    // Gjs wrapper for cogl_is_gles2_context()
}
  

Gets whether the given object references a Cogl.GLES2Context.

Since 2.0

object

A Cogl.Object pointer

Returns

true if the object references a Cogl.GLES2Context and false otherwise.