#metal #graphics #bindings #api-bindings #3d-rendering

candle-metal

Rust bindings for Metal (Temporary fork of metal)

1 unstable release

0.27.1 Nov 20, 2023

#627 in Graphics APIs

MIT/Apache

3MB
10K SLoC

metal-rs

Actions Status Crates.io

Unsafe Rust bindings for the Metal 3D Graphics API.

Documentation

Note that docs.rs will fail to build the (albeit limited) documentation for this crate! They build in a Linux container, but of course this will only compile on MacOS.

Please build the documentation yourself with cargo docs.

Examples

The 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

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.

Dependencies