Clutter.PaintNode
Description: Reference for Clutter.PaintNode

### Class

# ClutterPaintNode

since: 13

#### Description [src]

    abstract class Clutter.PaintNode : GObject.TypeInstance
    {
      /* No available fields */
    }

Paint objects

`ClutterPaintNode` is an element in the render graph.

The render graph contains all the elements that need to be painted by Clutter when submitting a frame to the graphics system.

The render graph is distinct from the scene graph: the scene graph is composed by actors, which can be visible or invisible; the scene graph elements also respond to events. The render graph, instead, is only composed by nodes that will be painted.

Each `ClutterActor` can submit multiple `ClutterPaintNode`s to the render graph.

Available since: 13

#### Descendants

- ClutterActorNode
- ClutterBlitNode
- ClutterClipNode
- ClutterLayerNode
- ClutterPipelineNode
- ClutterRootNode
- ClutterTextNode
- ClutterTransformNode

#### Instance methods

###### clutter_paint_node_add_child

Adds `child` to the list of children of `node`.

since: 13

###### clutter_paint_node_add_multitexture_rectangle

Adds a rectangle region to the `node`, with multitexture coordinates.

since: 13

###### clutter_paint_node_add_primitive

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

since: 13

###### clutter_paint_node_add_rectangle

Adds a rectangle region to the `node`, as described by the passed `rect`.

since: 13

###### clutter_paint_node_add_rectangles

Adds a series of rectangles to `node`.

since: 13

###### clutter_paint_node_add_texture_rectangle

Adds a rectangle region to the `node`, with texture coordinates.

since: 13

###### clutter_paint_node_add_texture_rectangles

Adds a series of rectangles to `node`.

since: 13

###### clutter_paint_node_get_framebuffer

Retrieves the `CoglFramebuffer` that `node` will draw into. If `node` doesn’t specify a custom framebuffer, the first ancestor with a custom framebuffer will be used.

since: 13

###### clutter_paint_node_paint

Paints the `node` using the class implementation, traversing its children, if any.

since: 13

###### clutter_paint_node_ref

Acquires a reference on `node`.

since: 13

###### clutter_paint_node_set_name

Sets a user-readable `name` for `node`.

since: 13

###### clutter_paint_node_set_static_name

Like `clutter_paint_node_set_name()` but uses a static or interned string containing the name.

since: 13

###### clutter_paint_node_unref

Releases a reference on `node`.

since: 13

#### Class structure

    struct ClutterPaintNodeClass {
      /* no available fields */
    }

The `ClutterPaintNodeClass` structure contains only private data.