mirror of
https://github.com/bailwillharr/engine.git
synced 2024-09-21 13:01:19 +00:00
16 lines
356 B
C++
16 lines
356 B
C++
#pragma once
|
|
|
|
#include <memory>
|
|
|
|
#include "resources/material.h"
|
|
#include "resources/mesh.h"
|
|
|
|
namespace engine {
|
|
|
|
struct MeshRenderableComponent {
|
|
std::shared_ptr<Mesh> mesh;
|
|
std::shared_ptr<Material> material;
|
|
bool visible = true; // for static meshes, changes to this may require the static render list to be rebuilt
|
|
};
|
|
|
|
} // namespace engine
|