pub unsafe fn create_descriptor_set_layout(&self, create_info: &DescriptorSetLayoutCreateInfo,
            allocator: Option<*const vks::VkAllocationCallbacks>) -> VdResult<DescriptorSetLayoutHandle> {
        let allocator = allocator.unwrap_or(ptr::null());
        let mut handle = 0;
        let result = self.proc_addr_loader().vk.vkCreateDescriptorSetLayout(self.handle().to_raw(),
            create_info.as_raw(), allocator, &mut handle);
        error::check(result, "vkCreateDescriptorSetLayout", DescriptorSetLayoutHandle(handle))
    }
/// Creates a new descriptor set layout.
///
/// https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateDescriptorSetLayout.html
//
// *PFN_vkCreateDescriptorSetLayout)(VkDevice device, const
// VkDescriptorSetLayoutCreateInfo* pCreateInfo, const
// VkAllocationCallbacks* pAllocator, VkDescriptorSetLayout* pSetLayout);
Creates a new descriptor set layout.


Creates a new descriptor set layout .
pub unsafe fn create_descriptor_set_layout(&self, create_info: &DescriptorSetLayoutCreateInfo,
            allocator: Option<*const vks::VkAllocationCallbacks>) -> VdResult<DescriptorSetLayoutHandle> {
        let allocator = allocator.unwrap_or(ptr::null());
        let mut handle = 0;
        let result = self.proc_addr_loader().vk.vkCreateDescriptorSetLayout(self.handle().to_raw(),
            create_info.as_raw(), allocator, &mut handle);
        error::check(result, "vkCreateDescriptorSetLayout", DescriptorSetLayoutHandle(handle))
    }
pub unsafe fn create_descriptor_set_layout ( & self , create_info : & DescriptorSetLayoutCreateInfo , allocator : Option < * const vks :: VkAllocationCallbacks > ) -> VdResult < DescriptorSetLayoutHandle > { let allocator = allocator . unwrap_or ( ptr :: null ( ) ) ; let mut handle = 0 ; let result = self . proc_addr_loader ( ) . vk . vkCreateDescriptorSetLayout ( self . handle ( ) . to_raw ( ) , create_info . as_raw ( ) , allocator , & mut handle ) ; error :: check ( result , " " , DescriptorSetLayoutHandle ( handle ) ) }
Creates a new descriptor set layout.
Creates a new descriptor set layout .
&self
create_info
&DescriptorSetLayoutCreateInfo
allocator
Option<*const vks::VkAllocationCallbacks>
&self
create_info
&DescriptorSetLayoutCreateInfo
allocator
Option<*const vks::VkAllocationCallbacks>