use std::rc::Rc;

use crate::loaders::mesh::Mesh;
use crate::render::Pipeline;

#[derive(Clone)]
pub struct MeshComponent
{
    pub mesh: Rc<Mesh>,
    pub pipeline: Pipeline,
    pub instance_buffer: Option<wgpu::Buffer>,
    pub num_instances: u32,
    pub tile_scale: f32,
    pub enable_dissolve: bool,
    pub enable_snow_light: bool,
}
