Class

GskVulkanRenderer

Description [src]

final class Gsk.VulkanRenderer : Gsk.Renderer
{
  /* No available fields */
}

A GSK renderer that is using Vulkan.

This renderer will fail to realize if Vulkan is not supported.

Hierarchy

hierarchy this GskVulkanRenderer ancestor_0 GskRenderer ancestor_0--this ancestor_1 GObject ancestor_1--ancestor_0

Ancestors

Constructors

gsk_vulkan_renderer_new

Creates a new Vulkan renderer.

Instance methods

Methods inherited from GskRenderer (7)
gsk_renderer_get_surface

Retrieves the GdkSurface set using gsk_enderer_realize().

gsk_renderer_is_realized

Checks whether the renderer is realized or not.

gsk_renderer_realize

Creates the resources needed by the renderer to render the scene graph.

gsk_renderer_realize_for_display

Creates the resources needed by the renderer to render the scene graph.

since: 4.14

gsk_renderer_render

Renders the scene graph, described by a tree of GskRenderNode instances to the renderer’s surface, ensuring that the given region gets redrawn.

gsk_renderer_render_texture

Renders the scene graph, described by a tree of GskRenderNode instances, to a GdkTexture.

gsk_renderer_unrealize

Releases all the resources created by gsk_renderer_realize().

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Properties inherited from GskRenderer (2)
Gsk.Renderer:realized

Whether the renderer has been associated with a surface or draw context.

Gsk.Renderer:surface

The surface associated with renderer.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct GskVulkanRendererClass {
  /* no available fields */
}

No description available.