Cogl.is_texture

function is_texture(object: void): Cogl.Bool {
    // Gjs wrapper for cogl_is_texture()
}
  

Gets whether the given object references a texture object.

object

A Cogl.Object pointer

Returns

true if the object references a texture, and false otherwise