summaryrefslogtreecommitdiffstats
path: root/third_party/rust/metal/README.md
blob: 7fac036e5f62f39e2ccc634ed94e9f3f1ea33fce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# metal-rs
[![Actions Status](https://github.com/gfx-rs/metal-rs/workflows/ci/badge.svg)](https://github.com/gfx-rs/metal-rs/actions)
[![Crates.io](https://img.shields.io/crates/v/metal.svg?label=metal)](https://crates.io/crates/metal)

Unsafe Rust bindings for the Metal 3D Graphics API.

## Examples

The [examples](/examples) directory highlights different ways of using the Metal graphics API for rendering
and computation.

Examples can be run using commands such as:

```
# Replace `window` with the name of the example that you would like to run
cargo run --example window
```

## License

Licensed under either of

 * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
 * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)

at your option.

### Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.