blob: c51c2c655b453bc93c39b3143c16c1f5b6101cfd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
## `wgpu` integration
A demonstration of how to integrate Iced in an existing [`wgpu`] application.
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
|