summaryrefslogtreecommitdiffstats
path: root/examples/integration_opengl/README.md
blob: b7c2c074dc0f01dc7eb14eee6f4e8a5ff463d327 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
## OpenGL integration

A demonstration of how to integrate Iced in an existing graphical OpenGL application.

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

<div align="center">
  <a href="https://imgbox.com/9P9ETcod" target="_blank"><img src="https://images2.imgbox.com/2a/51/9P9ETcod_o.gif" alt="image host"/></a>
</div>

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

[`main`]: src/main.rs