mirror of
https://github.com/bailwillharr/engine.git
synced 2024-09-21 13:01:19 +00:00
19 lines
371 B
C++
19 lines
371 B
C++
#ifndef ENGINE_INCLUDE_COMPONENTS_RENDERABLE_H_
|
|
#define ENGINE_INCLUDE_COMPONENTS_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;
|
|
bool shown = true;
|
|
};
|
|
|
|
} // namespace engine
|
|
|
|
#endif |