Cogl.is_primitive
function is_primitive(object: void): Cogl.Bool {
// Gjs wrapper for cogl_is_primitive()
}
Gets whether the given object references a Cogl.Primitive.
Since 1.6
- object
- Returns
true if the object references a Cogl.Primitive, false otherwise