1 #ifndef RADIX_COMPONENT_MESHDRAWABLE_HPP
2 #define RADIX_COMPONENT_MESHDRAWABLE_HPP
20 return "MeshDrawable";
24 return Component::getTypeId<std::remove_reference<decltype(*this)>::type>();
Definition: GameController.hpp:7
ECS entity, Component container It is created like this:
Definition: Entity.hpp:23
Base class to create entity components.
Definition: Component.hpp:25
ComponentTypeId TypeId
Definition: Component.hpp:35
MeshDrawable(Entity &ent)
Definition: MeshDrawable.hpp:16
TypeId getTypeId() const
Definition: MeshDrawable.hpp:23
const char * getName() const
Definition: MeshDrawable.hpp:19
Mesh mesh
Definition: MeshDrawable.hpp:12
void serialize(serine::Archiver &ar)
Definition: MeshDrawable.hpp:27
Material material
Definition: MeshDrawable.hpp:14
Definition: MeshDrawable.hpp:10
Definition: Material.hpp:11