summaryrefslogtreecommitdiffstats
path: root/examples/custom_shader/src/primitive/vertex.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/primitive/vertex.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/primitive/vertex.rs')
-rw-r--r--examples/custom_shader/src/primitive/vertex.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/custom_shader/src/primitive/vertex.rs b/examples/custom_shader/src/primitive/vertex.rs
index 6d17aa0f..e64cd926 100644
--- a/examples/custom_shader/src/primitive/vertex.rs
+++ b/examples/custom_shader/src/primitive/vertex.rs
@@ -1,3 +1,5 @@
+use crate::wgpu;
+
#[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
#[repr(C)]
pub struct Vertex {