engine/include/components/mesh_renderable.h

18 lines
360 B
C++

#ifndef ENGINE_INCLUDE_COMPONENTS_MESH_RENDERABLE_H_
#define ENGINE_INCLUDE_COMPONENTS_MESH_RENDERABLE_H_
#include <memory>
#include "resources/material.h"
#include "resources/mesh.h"
namespace engine {
struct RenderableComponent {
std::shared_ptr<resources::Mesh> mesh;
std::shared_ptr<resources::Material> material;
};
} // namespace engine
#endif