pub unsafe fn create_semaphore(&self, create_info: &SemaphoreCreateInfo,
            allocator: Option<*const vks::VkAllocationCallbacks>) -> VdResult<SemaphoreHandle> {
        let allocator = allocator.unwrap_or(ptr::null());
        let mut handle = 0;
        let result = self.proc_addr_loader().vk.vkCreateSemaphore(self.handle().to_raw(),
            create_info.as_raw(), allocator, &mut handle);
        error::check(result, "vkCreateSemaphore", SemaphoreHandle(handle))
    }
/// Creates a new queue semaphore object.
///
/// https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateSemaphore.html
//
// *PFN_vkCreateSemaphore)(VkDevice device, const VkSemaphoreCreateInfo*
// pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSemaphore*
// pSemaphore);
Creates a new queue semaphore object.


Creates a new queue semaphore object .
pub unsafe fn create_semaphore(&self, create_info: &SemaphoreCreateInfo,
            allocator: Option<*const vks::VkAllocationCallbacks>) -> VdResult<SemaphoreHandle> {
        let allocator = allocator.unwrap_or(ptr::null());
        let mut handle = 0;
        let result = self.proc_addr_loader().vk.vkCreateSemaphore(self.handle().to_raw(),
            create_info.as_raw(), allocator, &mut handle);
        error::check(result, "vkCreateSemaphore", SemaphoreHandle(handle))
    }
pub unsafe fn create_semaphore ( & self , create_info : & SemaphoreCreateInfo , allocator : Option < * const vks :: VkAllocationCallbacks > ) -> VdResult < SemaphoreHandle > { let allocator = allocator . unwrap_or ( ptr :: null ( ) ) ; let mut handle = 0 ; let result = self . proc_addr_loader ( ) . vk . vkCreateSemaphore ( self . handle ( ) . to_raw ( ) , create_info . as_raw ( ) , allocator , & mut handle ) ; error :: check ( result , " " , SemaphoreHandle ( handle ) ) }
Creates a new queue semaphore object.
Creates a new queue semaphore object .
&self
create_info
&SemaphoreCreateInfo
allocator
Option<*const vks::VkAllocationCallbacks>
&self
create_info
&SemaphoreCreateInfo
allocator
Option<*const vks::VkAllocationCallbacks>