GulkanUniformBuffer

GulkanUniformBuffer

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GulkanUniformBuffer

Includes

#include <gulkan.h>

Description

Functions

gulkan_uniform_buffer_new ()

GulkanUniformBuffer *
gulkan_uniform_buffer_new (void);

gulkan_uniform_buffer_allocate_and_map ()

bool
gulkan_uniform_buffer_allocate_and_map
                               (GulkanUniformBuffer *self,
                                GulkanDevice *device,
                                VkDeviceSize size);

gulkan_uniform_buffer_get_handle ()

VkBuffer
gulkan_uniform_buffer_get_handle (GulkanUniformBuffer *self);

gulkan_uniform_buffer_update_matrix ()

void
gulkan_uniform_buffer_update_matrix (GulkanUniformBuffer *self,
                                     graphene_matrix_t *matrix);

gulkan_uniform_buffer_update_vec4 ()

void
gulkan_uniform_buffer_update_vec4 (GulkanUniformBuffer *self,
                                   const graphene_vec4_t *v);

gulkan_uniform_buffer_update_struct ()

void
gulkan_uniform_buffer_update_struct (GulkanUniformBuffer *self,
                                     gpointer *s);

Types and Values

GulkanUniformBuffer

typedef struct _GulkanUniformBuffer GulkanUniformBuffer;

GULKAN_TYPE_UNIFORM_BUFFER

#define GULKAN_TYPE_UNIFORM_BUFFER gulkan_uniform_buffer_get_type()