• Stars
    star
    567
  • Rank 78,634 (Top 2 %)
  • Language
    Rust
  • License
    Apache License 2.0
  • Created over 8 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Rust bindings for Metal

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.

More Repositories

1

wgpu

A cross-platform, safe, pure-Rust graphics API.
Rust
12,115
star
2

gfx

[maintenance mode] A low-overhead Vulkan-like GPU API for Rust.
Rust
5,350
star
3

wgpu-rs

Rust bindings to wgpu native library
Rust
1,690
star
4

naga

Universal shader translation in Rust
Rust
1,530
star
5

wgpu-native

Native WebGPU implementation based on wgpu-core
Rust
836
star
6

rspirv

Rust implementation of SPIR-V module processing functionalities
Rust
442
star
7

portability

Vulkan Portability Implementation
C
383
star
8

genmesh

A library of mesh generation utilities.
Rust
122
star
9

gfx-ocean

Compute based ocean simulation with gfx_hal 🌊
Rust
116
star
10

meetup

Rust Graphics meetups
68
star
11

d3d12-rs

Rust wrapper for D3D12
Rust
36
star
12

gfx-memory

[DEPRECATED] Memory management library of gfx_hal
Rust
26
star
13

gfx-extras

DEPRECATED: Extra libraries to help working with gfx-hal
Rust
21
star
14

nv-flip-rs

Bindings to Nvidia Labs's ꟻLIP image comparison and error visualization library
Rust
19
star
15

wgpu-rs.github.io

Hosting for wgpu.rs website
HTML
17
star
16

gfx-render

Rust
16
star
17

gfx-rs.github.io

Blog for the gfx-rs project
HTML
15
star
18

gfx_scene

deprecated
Rust
15
star
19

gfx_gl

An OpenGL loader tailored to gfx-rs's needs.
Rust
14
star
20

wanari

Khronos ANARI implementation in Rust based on wgpu-rs
Rust
9
star
21

range-alloc

Rust
6
star
22

draw_state

deprecated
Rust
6
star
23

subscriber

Tracing subscribers to help with wgpu
Rust
5
star
24

gfx_macros

deprecated
Rust
4
star
25

stories

wgpu stories blog
Ruby
4
star
26

cherry

Fork of Android Cherry tool for Vulkan CTS tracking
Go
2
star
27

ci-build

Automated action for building/hosting components we need in CI
2
star