Add integration_gl example

This commit is contained in:
Tamás Szelei 2020-11-15 23:51:13 +01:00 committed by Héctor Ramón Jiménez
parent 187413b452
commit a646b11109
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
7 changed files with 410 additions and 2 deletions

View file

@ -0,0 +1,16 @@
## 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