Package org.gnome.gsk

Class Renderer

java.lang.Object
All Implemented Interfaces:
Proxy
Direct Known Subclasses:
BroadwayRenderer, CairoRenderer, GLRenderer, NglRenderer, Renderer.RendererImpl, VulkanRenderer

@Generated("io.github.jwharm.JavaGI") public abstract class Renderer extends GObject
GskRenderer is a class that renders a scene graph defined via a tree of RenderNode instances.

Typically you will use a GskRenderer instance to repeatedly call render(org.gnome.gsk.RenderNode, org.freedesktop.cairo.Region) to update the contents of its associated Surface.

It is necessary to realize a GskRenderer instance using realize(org.gnome.gdk.Surface) before calling render(org.gnome.gsk.RenderNode, org.freedesktop.cairo.Region), in order to create the appropriate windowing system resources needed to render the scene.