[][src]Function vulkayes_window::from_raw_ios

pub unsafe fn from_raw_ios(
    ui_window: *mut c_void,
    ui_view: *const c_void,
    entry: &Entry,
    instance: &Instance,
    allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<SurfaceKHR, Result>

Safety

  • window_handle must be a valid UIWindow handle.
  • view_handle must be a valid UIView handle.
  • instance must be a valid Vulkan instance.

Note that while this function can be called on anu platform, it will only perform all necessary setup in conditional compilation on ios.