Skip to main content

PFN_vkCreateEvent

Type Alias PFN_vkCreateEvent 

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

vkCreateEvent Provided by VK_COMPUTE_VERSION_1_0.

§Success Codes

  • VK_SUCCESS

§Error Codes

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_OUT_OF_DEVICE_MEMORY
  • VK_ERROR_UNKNOWN
  • VK_ERROR_VALIDATION_FAILED

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(Device, *const EventCreateInfo, *const AllocationCallbacks, *mut Event) -> Result)

Some value of type T.