Skip to main content

PFN_vkCreateSharedSwapchainsKHR

Type Alias PFN_vkCreateSharedSwapchainsKHR 

Source
pub type PFN_vkCreateSharedSwapchainsKHR = Option<unsafe extern "system" fn(device: Device, swapchain_count: u32, p_create_infos: *const SwapchainCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_swapchains: *mut SwapchainKHR) -> Result>;
Expand description

vkCreateSharedSwapchainsKHR Provided by VK_KHR_display_swapchain.

§Success Codes

  • VK_SUCCESS

§Error Codes

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_OUT_OF_DEVICE_MEMORY
  • VK_ERROR_INCOMPATIBLE_DISPLAY_KHR
  • VK_ERROR_DEVICE_LOST
  • VK_ERROR_SURFACE_LOST_KHR
  • VK_ERROR_UNKNOWN
  • VK_ERROR_VALIDATION_FAILED

Aliased Type§

pub enum PFN_vkCreateSharedSwapchainsKHR {
    None,
    Some(unsafe extern "system" fn(Device, u32, *const SwapchainCreateInfoKHR, *const AllocationCallbacks, *mut SwapchainKHR) -> Result),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(Device, u32, *const SwapchainCreateInfoKHR, *const AllocationCallbacks, *mut SwapchainKHR) -> Result)

Some value of type T.