0.0.1 Mar 8, 2020

#47 in #metal

MIT/Apache

130KB
3K SLoC

lonsdaleite-rs

lonsdaleite is an idiomatic Rust wrapper of Metal using metal-rs.

Examples

To run an example, cd to the examples directory. Use the cargo run --example command to run one of the following examples:

  • triangle3d
  • texture_quad
  • sum

Add the --features with whatever backend corresponds to your os:

  • mtl: macos, ios

For now, lonsdaleite has only got support for MacOs and IOS. Support for Linux, Windows, and Android coming later in the form of either a Vulkan or OpenGL backend.


lib.rs:

An idiomatic Rust wrapper of Metal.

See the metal documentation for potentially relevant information if the documentation here is lacking.

For now, it's macos / ios only.

Dependencies

~6–15MB
~133K SLoC