Constructor
ClutterLayerNodenew_to_framebuffer
Declaration [src]
ClutterPaintNode*
clutter_layer_node_new_to_framebuffer (
CoglFramebuffer* framebuffer,
CoglPipeline* pipeline
)
Description [src]
Creates a new ClutterLayerNode that will redirect drawing at
framebuffer. It will then use pipeline to paint the stored operations.
When using this constructor, the caller is reponsible for setting
up framebuffer, including its modelview and projection matrices,
and the viewport, and the pipeline as well.
Parameters
framebuffer |
CoglFramebuffer |
A |
|
| The data is owned by the caller of the function. | |
pipeline |
CoglPipeline |
A |
|
| 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. |