Skip to main content

PFN_vkQueuePresentKHR

Type Alias PFN_vkQueuePresentKHR 

Source
pub type PFN_vkQueuePresentKHR = Option<unsafe extern "system" fn(queue: Queue, p_present_info: *const PresentInfoKHR) -> Result>;
Expand description

vkQueuePresentKHR Provided by VK_KHR_swapchain.

§Success Codes

  • VK_SUCCESS
  • VK_SUBOPTIMAL_KHR

§Error Codes

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_OUT_OF_DEVICE_MEMORY
  • VK_ERROR_DEVICE_LOST
  • VK_ERROR_OUT_OF_DATE_KHR
  • VK_ERROR_SURFACE_LOST_KHR
  • VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT
  • VK_ERROR_UNKNOWN
  • VK_ERROR_VALIDATION_FAILED
  • VK_ERROR_PRESENT_TIMING_QUEUE_FULL_EXT

§Thread Safety

  • queue must be externally synchronized

Aliased Type§

pub enum PFN_vkQueuePresentKHR {
    None,
    Some(unsafe extern "system" fn(Queue, *const PresentInfoKHR) -> Result),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(Queue, *const PresentInfoKHR) -> Result)

Some value of type T.