Skip to main content

PFN_vkCreateSemaphore

Type Alias PFN_vkCreateSemaphore 

Source
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.

Khronos reference: vkCreateSemaphore

Aliased Type§

pub enum PFN_vkCreateSemaphore {
    None,
    Some(unsafe extern "system" fn(DeviceHandle, *const SemaphoreCreateInfo<'_>, *const AllocationCallbacks, *mut Semaphore) -> Result),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(DeviceHandle, *const SemaphoreCreateInfo<'_>, *const AllocationCallbacks, *mut Semaphore) -> Result)

Some value of type T.