Sarek_vulkan.Vulkan_api_poolsDescriptor pools of one launch-batch slot. A set allocated here stays valid until reset, which the owner calls only after the fence of the command buffer that bound the sets has been waited for.
module Device = Vulkan_api_devicetype pool = {handle : Vulkan_types.vk_descriptor_pool;max_sets : int;max_descriptors : int;mutable used_sets : int;mutable used_descriptors : int;}val create : unit -> tval has_room : descriptors:int -> pool -> boolval allocate :
Device.t ->
t ->
Vulkan_types.vk_descriptor_set_layout ->
descriptors:int ->
Vulkan_types.vk_descriptor_setA set of layout (descriptors storage buffers); another pool is created when none has room.