Skip to main content

PFN_vkCreateSwapchainKHR

Type Alias PFN_vkCreateSwapchainKHR 

Source
pub type PFN_vkCreateSwapchainKHR = Option<unsafe extern "system" fn(device: Device, p_create_info: *const SwapchainCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_swapchain: *mut SwapchainKHR) -> Result>;
Expand description

vkCreateSwapchainKHR Provided by VK_KHR_swapchain.

§Success Codes

  • VK_SUCCESS

§Error Codes

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_OUT_OF_DEVICE_MEMORY
  • VK_ERROR_DEVICE_LOST
  • VK_ERROR_SURFACE_LOST_KHR
  • VK_ERROR_NATIVE_WINDOW_IN_USE_KHR
  • VK_ERROR_INITIALIZATION_FAILED
  • VK_ERROR_COMPRESSION_EXHAUSTED_EXT
  • VK_ERROR_UNKNOWN
  • VK_ERROR_VALIDATION_FAILED

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.