pub unsafe fn allocate_descriptor_sets(&self, allocate_info: &DescriptorSetAllocateInfo)
            -> VdResult<SmallVec<[DescriptorSetHandle; 8]>> {
        let mut descriptor_sets = SmallVec::<[DescriptorSetHandle; 8]>::new();
        let count = allocate_info.set_layouts().len();
        descriptor_sets.reserve_exact(count);
        descriptor_sets.set_len(count);
        let result = self.proc_addr_loader().vk.vkAllocateDescriptorSets(
            self.handle().to_raw(), allocate_info.as_raw(),
            descriptor_sets.as_mut_ptr() as *mut vks::VkDescriptorSet);
        error::check(result, "vkAllocateDescriptorSets", descriptor_sets)
    }
/// Allocates one or more descriptor sets.
///
/// https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkAllocateDescriptorSets.html
//
// *PFN_vkAllocateDescriptorSets)(VkDevice device, const
// VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet*
// pDescriptorSets);
Allocates one or more descriptor sets.


Allocates one or more descriptor sets .
pub unsafe fn allocate_descriptor_sets(&self, allocate_info: &DescriptorSetAllocateInfo)
            -> VdResult<SmallVec<[DescriptorSetHandle; 8]>> {
        let mut descriptor_sets = SmallVec::<[DescriptorSetHandle; 8]>::new();
        let count = allocate_info.set_layouts().len();
        descriptor_sets.reserve_exact(count);
        descriptor_sets.set_len(count);
        let result = self.proc_addr_loader().vk.vkAllocateDescriptorSets(
            self.handle().to_raw(), allocate_info.as_raw(),
            descriptor_sets.as_mut_ptr() as *mut vks::VkDescriptorSet);
        error::check(result, "vkAllocateDescriptorSets", descriptor_sets)
    }
pub unsafe fn allocate_descriptor_sets ( & self , allocate_info : & DescriptorSetAllocateInfo ) -> VdResult < SmallVec < [ DescriptorSetHandle ; 8 ] > > { let mut descriptor_sets = SmallVec :: < [ DescriptorSetHandle ; 8 ] > :: new ( ) ; let count = allocate_info . set_layouts ( ) . len ( ) ; descriptor_sets . reserve_exact ( count ) ; descriptor_sets . set_len ( count ) ; let result = self . proc_addr_loader ( ) . vk . vkAllocateDescriptorSets ( self . handle ( ) . to_raw ( ) , allocate_info . as_raw ( ) , descriptor_sets . as_mut_ptr ( ) as * mut vks :: VkDescriptorSet ) ; error :: check ( result , " " , descriptor_sets ) }
Allocates one or more descriptor sets.
Allocates one or more descriptor sets .
&self
allocate_info
&DescriptorSetAllocateInfo
&self
allocate_info
&DescriptorSetAllocateInfo