use crate::texture::Texture; pub struct Material { pub name: String, pub diffuse_texture: Texture, pub bind_group: wgpu::BindGroup, } pub struct Mesh { pub name: String, pub vertex_buffer: wgpu::Buffer, pub index_buffer: wgpu::Buffer, pub num_elements: u32, pub material: usize, }