pub type PFN_vkCreateAndroidSurfaceKHR = Option<unsafe extern "system" fn(instance: Instance, p_create_info: *const AndroidSurfaceCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR) -> Result>;Expand description
vkCreateAndroidSurfaceKHR
Provided by VK_KHR_android_surface.
§Success Codes
VK_SUCCESS
§Error Codes
VK_ERROR_OUT_OF_HOST_MEMORYVK_ERROR_OUT_OF_DEVICE_MEMORYVK_ERROR_NATIVE_WINDOW_IN_USE_KHRVK_ERROR_UNKNOWNVK_ERROR_VALIDATION_FAILED
Aliased Type§
pub enum PFN_vkCreateAndroidSurfaceKHR {
None,
Some(unsafe extern "system" fn(Instance, *const AndroidSurfaceCreateInfoKHR, *const AllocationCallbacks, *mut SurfaceKHR) -> Result),
}Variants§
None
No value.
Some(unsafe extern "system" fn(Instance, *const AndroidSurfaceCreateInfoKHR, *const AllocationCallbacks, *mut SurfaceKHR) -> Result)
Some value of type T.