Screenshots in the README

This commit is contained in:
Dzmitry Malyshau 2019-02-28 17:15:40 -05:00
parent 2d166d2155
commit e6aa37630a
3 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,9 @@ The implementation consists of the following parts:
- `wgpu-remote` - remoting layer to work with WebGPU across the process boundary
- `wgpu-rs` - idiomatic Rust wrapper of the native library
## Example
## Examples
![Cube](etc/gfx-cube.png) ![Shadow](etc/gfx-shadow.png)
To run an example, simply `cd` to the `examples` or `gfx-examples` directory, then use `cargo run` with `--features {backend}` to specify the backend (where `{backend}` is either `vulkan`, `dx12`, `dx11` or `metal`). For example:

BIN
etc/gfx-cube.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
etc/gfx-shadow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB