ash/ash-window/README.md
Marijn Suijten 23da5dbc8c
README: Remove deprecated builder() snippets and guidelines (#743)
* README: Autoformat

* README: Remove deprecated `builder()` snippets and guidelines

 #602 introduced builder functions directly on the raw Vulkan struct
types by using lifetime borrows which are FFI compatible (ABI is
identical) wuth raw pointers, simplifying the whole system and
protecting the user against losing lifetimes upon calling `.build()`.
However, this change wasn't propagated through to the `README` so the
code snippets were still showcasing removed `::builder()` and `.build()`
functions and documenting "the `.build()` footgun" which doesn't even
exist anymore 🎉
2023-04-16 22:19:09 +02:00

2.5 KiB

Ash-window

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

Crates.io Version Documentation Build Status LICENSE LICENSE Join the chat at https://gitter.im/MaikKlein/ash MSRV

Usage

ash-window = "0.12.0"

The library exposes two functions:

Versions

ash = "0.37"

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.