Cogl.PrimitiveAttributeCallback
function onPrimitiveAttributeCallback(primitive: Cogl.Primitive, attribute: Cogl.Attribute): Cogl.Bool { }
The callback prototype used with Cogl.Primitive.prototype.foreach_attribute for iterating all the attributes of a Cogl.Primitive.
The function should return TRUE to continue iteration or FALSE to stop.
Since 1.10
- primitive
The Cogl.Primitive whose attributes are being iterated
- attribute
The Cogl.Attribute
- Returns