summaryrefslogtreecommitdiffstats
path: root/examples/integration_opengl/README.md
blob: 08cce7a6ff14985d0ce55ed56c7e3309a4914a64 (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_gl
```

[`main`]: src/main.rs