summaryrefslogtreecommitdiffstats
path: root/examples/custom_shader/src/pipeline.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-11-14 14:04:54 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-11-14 14:04:54 +0100
commit63f36b04638f14af3455ead8b82d581a438a28a3 (patch)
tree493381fbc949cb69ddc45102674ec5c4635b5e01 /examples/custom_shader/src/pipeline.rs
parent91d7df52cdedd1b5c431fdb51a6356e827765b60 (diff)
downloadiced-63f36b04638f14af3455ead8b82d581a438a28a3.tar.gz
iced-63f36b04638f14af3455ead8b82d581a438a28a3.tar.bz2
iced-63f36b04638f14af3455ead8b82d581a438a28a3.zip
Export `wgpu` crate in `shader` module in `iced_widget`
Diffstat (limited to 'examples/custom_shader/src/pipeline.rs')
-rw-r--r--examples/custom_shader/src/pipeline.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/custom_shader/src/pipeline.rs b/examples/custom_shader/src/pipeline.rs
index 44ad17a2..9343e5e0 100644
--- a/examples/custom_shader/src/pipeline.rs
+++ b/examples/custom_shader/src/pipeline.rs
@@ -1,8 +1,10 @@
use crate::primitive;
use crate::primitive::cube;
use crate::primitive::{Buffer, Uniforms};
+use crate::wgpu;
+use crate::wgpu::util::DeviceExt;
+
use iced::{Rectangle, Size};
-use wgpu::util::DeviceExt;
const SKY_TEXTURE_SIZE: u32 = 128;