summaryrefslogtreecommitdiffstats
path: root/examples/integration_opengl/README.md
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2021-08-14 21:31:51 +0700
committerLibravatar GitHub <noreply@github.com>2021-08-14 21:31:51 +0700
commit1b2e66ec4f856e95d2655d2d41b840deee01080e (patch)
tree6e537984031d4142de06a4c0f37957d5880ebe60 /examples/integration_opengl/README.md
parent187413b4521bc13e270919b2bc101b83d8397956 (diff)
parent6da71f90077f1a1261aa522ff38133011dc5ddb5 (diff)
downloadiced-1b2e66ec4f856e95d2655d2d41b840deee01080e.tar.gz
iced-1b2e66ec4f856e95d2655d2d41b840deee01080e.tar.bz2
iced-1b2e66ec4f856e95d2655d2d41b840deee01080e.zip
Merge pull request #617 from sztomi/integration_gl
Add integration_gl example
Diffstat (limited to 'examples/integration_opengl/README.md')
-rw-r--r--examples/integration_opengl/README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/integration_opengl/README.md b/examples/integration_opengl/README.md
new file mode 100644
index 00000000..08cce7a6
--- /dev/null
+++ b/examples/integration_opengl/README.md
@@ -0,0 +1,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