Cogl.Primitive.prototype.set_attributes

function set_attributes(attributes: Cogl.Attribute, n_attributes: Number(gint)): void {
    // Gjs wrapper for cogl_primitive_set_attributes()
}
  

Replaces all the attributes of the given Cogl.Primitive object.

Since 1.6

attributes

an array of Cogl.Attribute pointers

n_attributes

the number of elements in attributes