mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-10-30 05:51:42 +00:00
Screenshots in the README
This commit is contained in:
parent
2d166d2155
commit
e6aa37630a
@ -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
BIN
etc/gfx-cube.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
BIN
etc/gfx-shadow.png
Normal file
BIN
etc/gfx-shadow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
Loading…
Reference in New Issue
Block a user