Debian Codegraph @

third_party/rust/metal/README.md

raw
1 # metal-rs
2 [![Actions Status](https://github.com/gfx-rs/metal-rs/workflows/ci/badge.svg)](https://github.com/gfx-rs/metal-rs/actions)
3 [![Crates.io](https://img.shields.io/crates/v/metal.svg?label=metal)](https://crates.io/crates/metal)
4
5 <p align="center">
6 <img width="150" height="150" src="./assets/metal.svg">
7 </p>
8
9 <p align="center">Unsafe Rust bindings for the Metal 3D Graphics API.</p>
10
11 ## Examples
12
13 The [examples](/examples) directory highlights different ways of using the Metal graphics API for rendering
14 and computation.
15
16 Examples can be run using commands such as:
17
18 ```
19 # Replace `window` with the name of the example that you would like to run
20 cargo run --example window
21 ```
22
23 ## License
24
25 Licensed under either of
26
27 * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
28 * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
29
30 at your option.
31
32 ### Contribution
33
34 Unless you explicitly state otherwise, any contribution intentionally submitted
35 for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
36 dual licensed as above, without any additional terms or conditions.