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_MEMORYVK_ERROR_OUT_OF_DEVICE_MEMORYVK_ERROR_DEVICE_LOSTVK_ERROR_SURFACE_LOST_KHRVK_ERROR_NATIVE_WINDOW_IN_USE_KHRVK_ERROR_INITIALIZATION_FAILEDVK_ERROR_COMPRESSION_EXHAUSTED_EXTVK_ERROR_UNKNOWNVK_ERROR_VALIDATION_FAILED
Aliased Type§
pub enum PFN_vkCreateSwapchainKHR {
None,
Some(unsafe extern "system" fn(Device, *const SwapchainCreateInfoKHR, *const AllocationCallbacks, *mut SwapchainKHR) -> Result),
}Variants§
None
No value.
Some(unsafe extern "system" fn(Device, *const SwapchainCreateInfoKHR, *const AllocationCallbacks, *mut SwapchainKHR) -> Result)
Some value of type T.