baremetal 0.33.0

Rust bindings for Metal
Documentation
# baremetal

> [!NOTE]
>
> `baremetal` is a maintained fork of [gfx-rs/metal-rs] by [Raphael Amorim], kept alive for
> ongoing use and updated to depend on the maintained [`block-rs`] fork of the `block`
> crate. It follows the same maintenance approach as [`block-rs`]. The library is imported
> as `use baremetal::...`.

[gfx-rs/metal-rs]: https://github.com/gfx-rs/metal-rs
[Raphael Amorim]: https://crates.io/users/raphamorim
[`block-rs`]: https://crates.io/crates/block-rs

-----


[![Crates.io](https://img.shields.io/crates/v/baremetal.svg?label=baremetal)](https://crates.io/crates/baremetal)

<p align="center">
  <img width="150" height="150" src="./assets/metal.svg">
</p>

<p align="center">Unsafe Rust bindings for the Metal 3D Graphics API.</p>

## 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.