//--STRIP
#ifndef MESH_INSTACE_2D_H
#define MESH_INSTACE_2D_H
//--STRIP

//--STRIP
#include "object_2d.h"

#include "core/vector.h"

#include "render_core/material.h"
#include "render_core/mesh.h"

#include "core/transform.h"
//--STRIP

class MeshInstance2D : public Object2D {
	SFW_OBJECT(MeshInstance2D, Object2D);

public:
	void render();

	MeshInstance2D();
	~MeshInstance2D();

	Ref<Material> material;
	Ref<Mesh> mesh;

	Transform2D transform;

	Vector<MeshInstance2D *> children;
};

//--STRIP
#endif // MESH_INSTACE_H
//--STRIP
