Cogl.is_primitive_texture

function is_primitive_texture(object: void): Cogl.Bool {
    // Gjs wrapper for cogl_is_primitive_texture()
}
  

Gets whether the given object references a primitive texture object.

Since 2.0

object

A Cogl.Object pointer

Returns

true if the pointer references a primitive texture, and false otherwise