Method

ClutterPaintNodeadd_primitive

Declaration [src]

void
clutter_paint_node_add_primitive (
  ClutterPaintNode* node,
  CoglPrimitive* primitive
)

Description [src]

Adds a region described by a Cogl primitive to the node.

This function acquires a reference on primitive, so it is safe to call cogl_object_unref() when it returns.

Available since:1.10
This method is not directly available to language bindings.

Parameters

primitive CoglPrimitive*
 

A Cogl primitive.

 The data is owned by the caller of the function.