pub type PFN_vkCreateSemaphore = Option<unsafe extern "system" fn(device: DeviceHandle, p_create_info: *const SemaphoreCreateInfo<'_>, p_allocator: *const AllocationCallbacks, p_semaphore: *mut Semaphore) -> Result>;Expand description
Nullable function pointer for vkCreateSemaphore.
Aliased Type§
pub enum PFN_vkCreateSemaphore {
None,
Some(unsafe extern "system" fn(DeviceHandle, *const SemaphoreCreateInfo<'_>, *const AllocationCallbacks, *mut Semaphore) -> Result),
}Variants§
None
No value.
Some(unsafe extern "system" fn(DeviceHandle, *const SemaphoreCreateInfo<'_>, *const AllocationCallbacks, *mut Semaphore) -> Result)
Some value of type T.