[−][src]Function vulkayes_window::from_raw_macos
pub unsafe fn from_raw_macos(
ns_window: *mut c_void,
ns_view: *const c_void,
entry: &Entry,
instance: &Instance,
allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<SurfaceKHR, Result>
Safety
ns_window
must be a valid NSWindow handle.ns_view
must be a valid NSView handle.instance
must be a valid Vulkan instance.
Note that while this function can be called on any platform, it will only
perform all necessary setup in conditional compilation on macOS
.