Constructor
ClutterPipelineNodenew
Declaration [src]
ClutterPaintNode*
clutter_pipeline_node_new (
CoglPipeline* pipeline
)
Description [src]
Creates a new ClutterPaintNode that will use the pipeline to
paint its contents.
This function will acquire a reference on the passed pipeline,
so it is safe to call cogl_object_unref() when it returns.
| Available since: | 1.10 |
Parameters
pipeline |
CoglPipeline |
A Cogl pipeline state object, or |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. |
Return value
| Returns: | ClutterPaintNode |
The newly created |
|
| The caller of the function takes ownership of the data, and is responsible for freeing it. |