Renderer
Object Hierarchy:
Description:
[
CCode ( type_id =
"gsk_renderer_get_type ()" ) ]
public abstract class Renderer :
Object
Content:
Properties:
Static methods:
Creation methods:
Methods:
- public unowned Surface? get_surface ()
Retrieves the surface that the renderer is associated with.
- public bool is_realized ()
Checks whether the renderer is realized or not.
- public bool realize (Surface? surface) throws Error
Creates the resources needed by the renderer.
- public bool realize_for_display (Display display) throws Error
Creates the resources needed by the renderer.
- public void render (RenderNode root, Region? region)
Renders the scene graph, described by a tree of `GskRenderNode` instances to
the renderer's surface, ensuring that the given region gets redrawn.
- public Texture render_texture (RenderNode root, Rect? viewport)
Renders a scene graph, described by a tree of `GskRenderNode` instances, to
a texture.
- public void unrealize ()
Releases all the resources created by [method@Gsk.
Inherited Members:
All known members inherited from class GLib.Object