Skip to main content

PFN_vkCreateEvent

Type Alias PFN_vkCreateEvent 

Source
pub type PFN_vkCreateEvent = Option<unsafe extern "system" fn(device: DeviceHandle, p_create_info: *const EventCreateInfo<'_>, p_allocator: *const AllocationCallbacks, p_event: *mut Event) -> Result>;
Expand description

Nullable function pointer for vkCreateEvent.

Khronos reference: vkCreateEvent

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.