1 2 3 4 5 6 7 8 9
use wgpu::{BindGroup, Sampler, Texture, TextureView}; #[derive(Debug)] pub struct WgpuImage { pub texture: Texture, pub view: TextureView, pub sampler: Sampler, pub bind_group: BindGroup, }