paulkernfeld / wgpu-rs

Rust bindings to wgpu native library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wgpu-rs

Build Status Crates.io Gitter

This is an idiomatic Rust wrapper over wgpu-native. It's designed to be suitable for general purpose graphics and computation needs of Rust community. It currently only works for the native platform, in the future aims to support WASM/Emscripten platforms as well.

Gallery

Cube Shadow MipMap vange-rs Brawl GLX map

Usage

The library requires one of the following features enabled in order to run any of the examples:

  • "vulkan"
  • "metal"
  • "dx12"
  • "dx11"

These examples assume that necessary dependencies for the graphics backend are already installed. For more information about installation and usage, refer to the Getting Started gfx-rs guide.

Friends

Shout out to the following projects that work best with wgpu-rs:

About

Rust bindings to wgpu native library

License:Mozilla Public License 2.0


Languages

Language:Rust 100.0%