#window #metal #graphics

raw-window-metal

Interop library between Metal and raw-window-handle

4 releases

new 0.2.0 Dec 2, 2021
0.1.2 Jan 12, 2021
0.1.1 Nov 23, 2020
0.1.0 May 22, 2020

#76 in Game dev

Download history 321/week @ 2021-08-19 310/week @ 2021-08-26 194/week @ 2021-09-02 312/week @ 2021-09-09 204/week @ 2021-09-16 305/week @ 2021-09-23 343/week @ 2021-09-30 297/week @ 2021-10-07 340/week @ 2021-10-14 371/week @ 2021-10-21 317/week @ 2021-10-28 276/week @ 2021-11-04 313/week @ 2021-11-11 312/week @ 2021-11-18 396/week @ 2021-11-25 426/week @ 2021-12-02

1,506 downloads per month
Used in 20 crates (3 directly)

MIT/Apache

8KB
112 lines

raw-window-metal

crates.io docs ci - macos ci - ios
License - MIT License - Apache2

Interoperability library for Metal and raw-window-handle for surface creation.

raw-window-metal = "0.2"

CAMetalLayer is the common entrypoint for graphics APIs (e.g gfx or MoltenVK), but the handles provided by window libraries may not include such a layer. This library may extract either this layer or allocate a new one.

Code is mostly extracted from the gfx-backend-metal crate.

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.

Dependencies

~105–265KB