### Class

# Clutter PaintNode

#### 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.

#### 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`.

###### clutter_paint_node_add_multitexture_rectangle

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

###### clutter_paint_node_add_primitive

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

###### clutter_paint_node_add_rectangle

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

###### clutter_paint_node_add_rectangles

Adds a series of rectangles to `node`.

###### clutter_paint_node_add_texture_rectangle

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

###### clutter_paint_node_add_texture_rectangles

Adds a series of rectangles to `node`.

###### 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.

###### clutter_paint_node_paint

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

###### clutter_paint_node_ref

Acquires a reference on `node`.

###### clutter_paint_node_set_name

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

###### clutter_paint_node_set_static_name

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

###### clutter_paint_node_unref

Releases a reference on `node`.

#### Class structure

    struct ClutterPaintNodeClass {
      /* no available fields */
    }

The `ClutterPaintNodeClass` structure contains only private data.