engine/include/components/renderable.hpp

19 lines
375 B
C++

#ifndef ENGINE_INCLUDE_COMPONENTS_RENDERABLE_H_
#define ENGINE_INCLUDE_COMPONENTS_RENDERABLE_H_
#include <memory>
#include "resources/material.hpp"
#include "resources/mesh.hpp"
namespace engine {
struct RenderableComponent {
std::shared_ptr<resources::Mesh> mesh;
std::shared_ptr<resources::Material> material;
bool shown = true;
};
} // namespace engine
#endif