Class
ClutterPaintNode
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.
Instance methods
clutter_paint_node_add_multitexture_rectangle
Adds a rectangle region to the node
, with multitexture coordinates.
clutter_paint_node_add_rectangle
Adds a rectangle region to the node
, as described by the
passed rect
.
clutter_paint_node_add_texture_rectangle
Adds a rectangle region to the node
, with texture coordinates.
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_set_static_name
Like clutter_paint_node_set_name()
but uses a static or interned string
containing the name.