mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 14:55:05 +00:00
[rs] Add readme and screenshots
This commit is contained in:
parent
d8b3372250
commit
2c1bdbd40f
10
.travis.yml
Normal file
10
.travis.yml
Normal file
@ -0,0 +1,10 @@
|
||||
language: rust
|
||||
sudo: false
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
- windows
|
||||
|
||||
branches:
|
||||
except:
|
||||
- staging.tmp
|
21
wgpu/README.md
Normal file
21
wgpu/README.md
Normal file
@ -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.
|
BIN
wgpu/etc/brawl-attack.gif
Normal file
BIN
wgpu/etc/brawl-attack.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 86 KiB |
BIN
wgpu/etc/example-cube.png
Normal file
BIN
wgpu/etc/example-cube.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
BIN
wgpu/etc/example-shadow.png
Normal file
BIN
wgpu/etc/example-shadow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
BIN
wgpu/etc/vange-rs.png
Normal file
BIN
wgpu/etc/vange-rs.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 129 KiB |
Loading…
Reference in New Issue
Block a user