gulkan-descriptor-pool

gulkan-descriptor-pool

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GulkanDescriptorPool

Includes

#include <gulkan.h>

Description

Functions

GULKAN_DESCRIPTOR_POOL_NEW()

#define             GULKAN_DESCRIPTOR_POOL_NEW(a, b, c)

gulkan_descriptor_pool_new ()

GulkanDescriptorPool *
gulkan_descriptor_pool_new (GulkanContext *context,
                            const VkDescriptorSetLayoutBinding *bindings,
                            uint32_t set_size,
                            uint32_t max_sets);

Parameters

context

a GulkanContext handle

 

bindings

(array length=binding_count) (element-type VkDescriptorSetLayoutBinding): an array of VkDescriptorSetLayoutBinding

 

set_size

the number of VkDescriptorSetLayoutBinding

 

max_sets

the maximum number of descriptor sets that can be allocated

 

Returns

a new GulkanDescriptorPool.

[transfer full][nullable]


gulkan_descriptor_pool_create_set ()

GulkanDescriptorSet *
gulkan_descriptor_pool_create_set (GulkanDescriptorPool *self);

gulkan_descriptor_pool_get_pipeline_layout ()

VkPipelineLayout
gulkan_descriptor_pool_get_pipeline_layout
                               (GulkanDescriptorPool *self);

Parameters

Returns

a VkPipelineLayout.

[transfer none]

Types and Values

GULKAN_TYPE_DESCRIPTOR_POOL

#define GULKAN_TYPE_DESCRIPTOR_POOL gulkan_descriptor_pool_get_type ()

GulkanDescriptorPool

typedef struct _GulkanDescriptorPool GulkanDescriptorPool;