Top | ![]() |
![]() |
![]() |
![]() |
GulkanDescriptorPool * gulkan_descriptor_pool_new_from_layout (VkDevice device
,VkDescriptorSetLayout layout
,const VkDescriptorPoolSize *pool_sizes
,uint32_t pool_size_count
,uint32_t set_count
);
device |
a VkDevice handle |
|
layout |
a VkDescriptorSetLayout |
|
pool_sizes |
an array of VkDescriptorPoolSize. |
[array length=pool_size_count][element-type VkDescriptorPoolSize] |
pool_size_count |
the number of VkDescriptorPoolSize |
|
set_count |
the maximum number of descriptor sets that can be allocated |
GulkanDescriptorPool * gulkan_descriptor_pool_new (VkDevice device
,const VkDescriptorSetLayoutBinding *bindings
,uint32_t binding_count
,const VkDescriptorPoolSize *pool_sizes
,uint32_t pool_size_count
,uint32_t set_count
);
device |
a VkDevice handle |
|
bindings |
an array of VkDescriptorSetLayoutBinding. |
[array length=binding_count][element-type VkDescriptorSetLayoutBinding] |
binding_count |
the number of VkDescriptorSetLayoutBinding |
|
pool_sizes |
an array of VkDescriptorPoolSize. |
[array length=pool_size_count][element-type VkDescriptorPoolSize] |
pool_size_count |
the number of VkDescriptorPoolSize |
|
set_count |
the maximum number of descriptor sets that can be allocated |
gboolean gulkan_descriptor_pool_allocate_sets (GulkanDescriptorPool *self
,uint32_t count
,VkDescriptorSet *sets
);
self |
a VkDevice handle |
|
count |
the number of VkDescriptorSet |
|
sets |
an array of VkDescriptorSet. |
[array length=count][element-type VkDescriptorSet] |
VkPipelineLayout
gulkan_descriptor_pool_get_pipeline_layout
(GulkanDescriptorPool *self
);