Cogl.is_onscreen

function is_onscreen(object: void): Cogl.Bool {
    // Gjs wrapper for cogl_is_onscreen()
}
  

Gets whether the given object references a Cogl.Onscreen.

Since 1.10

object

A Cogl.Object pointer

Returns

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