Skip to content
This repository has been archived by the owner on Aug 6, 2022. It is now read-only.
/ ash-window Public archive

Window handle interop for ash - merged into mainline

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

norse-rs/ash-window

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ash-window

NORSE crates.io docs ci
License - MIT License - Apache2

UPDATE: Now part of ash

Interoperability between ash and raw-window-handle for surface creation.

ash-window = "0.4"

Usage

The library exposes two functions:

  • enumerate_required_extensions returns the required instance extensions needed for surface creation from a specific window handle.

  • create_surface allows to create a surface from a type implementing HasRawWindowHandle

ash_window::create_surface(&entry, &instance, &window, None)?;

Versions

ash = "0.31"
raw-window-handle = "0.3"

Support

  • Windows (VK_KHR_win32_surface)
  • Unix (VK_KHR_xlib_surface/VK_KHR_xcb_surface/VK_KHR_wayland_surface)
  • MacOS/IOS (VK_EXT_metal_surface)
  • Android (VK_KHR_android_surface)

License

Licensed under either of

at your option.

Contribution

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.

About

Window handle interop for ash - merged into mainline

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages