Cogl.is_texture_2d

function is_texture_2d(object: void): Cogl.Bool {
    // Gjs wrapper for cogl_is_texture_2d()
}
  

Gets whether the given object references an existing Cogl.Texture2D object.

object

A Cogl.Object

Returns

true if the object references a Cogl.Texture2D, false otherwise