riddle me that
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#ifndef AEON_RENDERING_RENDERPIPELINE_H_
|
||||
#define AEON_RENDERING_RENDERPIPELINE_H_
|
||||
|
||||
class Pipline
|
||||
{
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1,10 +1,27 @@
|
||||
#ifndef AEON_SCENE_H_
|
||||
#define AEON_SCENE_H_
|
||||
|
||||
#include <Aeon/Entity/Entity.hpp>
|
||||
#include <Aeon/Entity/CoreComponents/MaterialComponent.hpp>
|
||||
#include <Aeon/Entity/CoreComponents/MeshComponent.hpp>
|
||||
#include <Aeon/Entity/CoreComponents/Transform.hpp>
|
||||
|
||||
#include <Aeon/Includes.hpp>
|
||||
|
||||
class Scene
|
||||
{
|
||||
public:
|
||||
Scene();
|
||||
~Scene();
|
||||
|
||||
EC::Registry& GetEntityRegistry();
|
||||
inline std::vector<EC::Entity> GatherRenderables()
|
||||
{
|
||||
return mEntityRegistry.view<Transform, MeshComponent, MaterialComponent>();
|
||||
}
|
||||
|
||||
private:
|
||||
EC::Registry mEntityRegistry;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user