use std::rc::Rc;

use crate::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,
}
