diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..171e10930d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +language: rust +sudo: false +os: + - linux + - osx + - windows + +branches: + except: + - staging.tmp diff --git a/README.md b/README.md new file mode 100644 index 0000000000..d15211d4f7 --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +## wgpu-rs +[![Build Status](https://travis-ci.org/gfx-rs/wgpu-rs.svg)](https://travis-ci.org/gfx-rs/wgpu-rs) +[![Crates.io](https://img.shields.io/crates/v/wgpu.svg)](https://crates.io/crates/wgpu) +[![Gitter](https://badges.gitter.im/gfx-rs/webgpu.svg)](https://gitter.im/gfx-rs/webgpu) + +This is an idiomatic Rust wrapper over [wgpu-native](https://github.com/gfx-rs/wgpu). 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](etc/example-cube.png) ![Shadow](etc/example-shadow.png) +![vange-rs](etc/vange-rs.png) ![Brawl](etc/brawl-attack.gif) + +## 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](https://github.com/gfx-rs/gfx/blob/master/info/getting_started.md) gfx-rs guide. diff --git a/etc/brawl-attack.gif b/etc/brawl-attack.gif new file mode 100644 index 0000000000..9c080b8077 Binary files /dev/null and b/etc/brawl-attack.gif differ diff --git a/etc/example-cube.png b/etc/example-cube.png new file mode 100644 index 0000000000..339c45b9f9 Binary files /dev/null and b/etc/example-cube.png differ diff --git a/etc/example-shadow.png b/etc/example-shadow.png new file mode 100644 index 0000000000..c757a0bdc0 Binary files /dev/null and b/etc/example-shadow.png differ diff --git a/etc/vange-rs.png b/etc/vange-rs.png new file mode 100644 index 0000000000..7cc6e86542 Binary files /dev/null and b/etc/vange-rs.png differ