2023-08-22 22:41:08 +00:00
|
|
|
#ifndef ENGINE_INCLUDE_COMPONENTS_MESH_RENDERABLE_H_
|
|
|
|
#define ENGINE_INCLUDE_COMPONENTS_MESH_RENDERABLE_H_
|
2023-01-02 17:24:20 +00:00
|
|
|
|
2023-01-02 21:11:29 +00:00
|
|
|
#include <memory>
|
2023-01-02 17:24:20 +00:00
|
|
|
|
2023-05-01 13:13:35 +00:00
|
|
|
#include "resources/material.h"
|
|
|
|
#include "resources/mesh.h"
|
2023-05-01 12:55:49 +00:00
|
|
|
|
2023-01-02 17:24:20 +00:00
|
|
|
namespace engine {
|
|
|
|
|
2023-05-01 12:55:49 +00:00
|
|
|
struct RenderableComponent {
|
|
|
|
std::shared_ptr<resources::Mesh> mesh;
|
|
|
|
std::shared_ptr<resources::Material> material;
|
|
|
|
};
|
2023-01-02 21:11:29 +00:00
|
|
|
|
2023-05-01 12:55:49 +00:00
|
|
|
} // namespace engine
|
2023-01-02 17:24:20 +00:00
|
|
|
|
2023-05-01 12:55:49 +00:00
|
|
|
#endif
|