[−][src]Function ash_window::create_surface
pub unsafe fn create_surface<E, I>(
entry: &E,
instance: &I,
window_handle: &impl HasRawWindowHandle,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR> where
E: EntryV1_0,
I: InstanceV1_0,
Create a surface from a raw surface handle.
instance
must have created with platform specific surface extensions enabled.