#ifndef EDITSCENE_RENDERABLE_HPP
#define EDITSCENE_RENDERABLE_HPP
#pragma once
#include <Ogre.h>

/**
 * Renderable component for Flecs entities
 * Links a mesh to an entity
 */
struct RenderableComponent {
	Ogre::Entity *entity = nullptr;
	Ogre::String meshName;
	bool visible = true;

	RenderableComponent() = default;

	explicit RenderableComponent(const Ogre::String &mesh)
		: meshName(mesh)
	{
	}
};

#endif // EDITSCENE_RENDERABLE_HPP
