GulkanRenderer

GulkanRenderer

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GulkanClient
        ╰── GulkanRenderer

Includes

#include <gulkan.h>

Description

Functions

gulkan_renderer_new ()

GulkanRenderer *
gulkan_renderer_new (void);

gulkan_renderer_create_shader_module ()

bool
gulkan_renderer_create_shader_module (VkDevice device,
                                      const gchar *resource_name,
                                      VkShaderModule *module);

gulkan_renderer_draw ()

bool
gulkan_renderer_draw (GulkanRenderer *self);

gulkan_renderer_init_rendering ()

bool
gulkan_renderer_init_rendering (GulkanRenderer *self,
                                VkSurfaceKHR surface,
                                GulkanTexture *texture);

gulkan_renderer_update_texture ()

bool
gulkan_renderer_update_texture (GulkanRenderer *self,
                                GulkanTexture *texture);

Types and Values

GulkanRenderer

typedef struct _GulkanRenderer GulkanRenderer;

struct GulkanRendererClass

struct GulkanRendererClass {
  GulkanClientClass parent_class;
};

GULKAN_TYPE_RENDERER

#define GULKAN_TYPE_RENDERER gulkan_renderer_get_type()