summaryrefslogtreecommitdiffstats
path: root/examples/integration_wgpu/README.md
blob: 53ffd3e50349a67c9bca0945b222fe320fe0f5d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
## `wgpu` integration

A demonstration of how to integrate Iced in an existing graphical application
that leverages [`wgpu`].

The __[`main`]__ file contains all the code of the example.

<div align="center">
  <a href="https://gfycat.com/nicemediocrekodiakbear">
    <img src="https://thumbs.gfycat.com/NiceMediocreKodiakbear-small.gif">
  </a>
</div>

You can run it with `cargo run`:
```
cargo run --package integration
```

[`main`]: src/main.rs
[`wgpu`]: https://github.com/gfx-rs/wgpu