Crates.io | ash-window |
lib.rs | ash-window |
version | 0.13.0 |
source | src |
created_at | 2019-10-11 16:10:27.685827 |
updated_at | 2024-04-01 19:50:07.709833 |
description | Interop library between ash and raw-window-handle |
homepage | |
repository | https://github.com/ash-rs/ash |
max_upload_size | |
id | 171714 |
size | 70,766 |
Interoperability between ash
and raw-window-handle
for surface creation.
ash-window = "0.12.0"
The library exposes two functions:
enumerate_required_extensions
returns the required instance extensions needed for surface creation from a specific display handle.
create_surface
allows to create a surface from a type implementing RawDisplayHandle
and RawWindowHandle
:
ash_window::create_surface(&entry, &instance, &window, None)?;
ash = "0.37"
VK_KHR_win32_surface
)VK_KHR_xlib_surface
/VK_KHR_xcb_surface
/VK_KHR_wayland_surface
)VK_EXT_metal_surface
)VK_KHR_android_surface
)Licensed under either of
at your option.
Unless you explicitly state otherwise, any Contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.