diff options
author | 2021-08-14 21:31:51 +0700 | |
---|---|---|
committer | 2021-08-14 21:31:51 +0700 | |
commit | 1b2e66ec4f856e95d2655d2d41b840deee01080e (patch) | |
tree | 6e537984031d4142de06a4c0f37957d5880ebe60 /examples/integration_wgpu | |
parent | 187413b4521bc13e270919b2bc101b83d8397956 (diff) | |
parent | 6da71f90077f1a1261aa522ff38133011dc5ddb5 (diff) | |
download | iced-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 '')
-rw-r--r-- | examples/integration_wgpu/Cargo.toml (renamed from examples/integration/Cargo.toml) | 2 | ||||
-rw-r--r-- | examples/integration_wgpu/README.md (renamed from examples/integration/README.md) | 5 | ||||
-rw-r--r-- | examples/integration_wgpu/src/controls.rs (renamed from examples/integration/src/controls.rs) | 0 | ||||
-rw-r--r-- | examples/integration_wgpu/src/main.rs (renamed from examples/integration/src/main.rs) | 0 | ||||
-rw-r--r-- | examples/integration_wgpu/src/scene.rs (renamed from examples/integration/src/scene.rs) | 0 | ||||
-rw-r--r-- | examples/integration_wgpu/src/shader/frag.spv (renamed from examples/integration/src/shader/frag.spv) | bin | 352 -> 352 bytes | |||
-rw-r--r-- | examples/integration_wgpu/src/shader/vert.spv (renamed from examples/integration/src/shader/vert.spv) | bin | 904 -> 904 bytes |
7 files changed, 4 insertions, 3 deletions
diff --git a/examples/integration/Cargo.toml b/examples/integration_wgpu/Cargo.toml index 4515502f..743c655e 100644 --- a/examples/integration/Cargo.toml +++ b/examples/integration_wgpu/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "integration" +name = "integration_wgpu" version = "0.1.0" authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"] edition = "2018" diff --git a/examples/integration/README.md b/examples/integration_wgpu/README.md index d5aabc19..c51c2c65 100644 --- a/examples/integration/README.md +++ b/examples/integration_wgpu/README.md @@ -1,6 +1,6 @@ -## Integration +## `wgpu` integration -A demonstration of how to integrate Iced in an existing graphical application. +A demonstration of how to integrate Iced in an existing [`wgpu`] application. The __[`main`]__ file contains all the code of the example. @@ -16,3 +16,4 @@ cargo run --package integration ``` [`main`]: src/main.rs +[`wgpu`]: https://github.com/gfx-rs/wgpu diff --git a/examples/integration/src/controls.rs b/examples/integration_wgpu/src/controls.rs index 36ee9b7e..36ee9b7e 100644 --- a/examples/integration/src/controls.rs +++ b/examples/integration_wgpu/src/controls.rs diff --git a/examples/integration/src/main.rs b/examples/integration_wgpu/src/main.rs index 6f319466..6f319466 100644 --- a/examples/integration/src/main.rs +++ b/examples/integration_wgpu/src/main.rs diff --git a/examples/integration/src/scene.rs b/examples/integration_wgpu/src/scene.rs index 3e8277c8..3e8277c8 100644 --- a/examples/integration/src/scene.rs +++ b/examples/integration_wgpu/src/scene.rs diff --git a/examples/integration/src/shader/frag.spv b/examples/integration_wgpu/src/shader/frag.spv Binary files differindex 9d6807c9..9d6807c9 100644 --- a/examples/integration/src/shader/frag.spv +++ b/examples/integration_wgpu/src/shader/frag.spv diff --git a/examples/integration/src/shader/vert.spv b/examples/integration_wgpu/src/shader/vert.spv Binary files differindex 0cabc9c0..0cabc9c0 100644 --- a/examples/integration/src/shader/vert.spv +++ b/examples/integration_wgpu/src/shader/vert.spv |