riddle me that

This commit is contained in:
2025-07-03 23:46:43 +01:00
parent 83758c90b3
commit e54a790524
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
#ifndef AEON_RENDERING_RENDERPIPELINE_H_
#define AEON_RENDERING_RENDERPIPELINE_H_
class Pipline
{
};
#endif

View File

@@ -1,10 +1,27 @@
#ifndef AEON_SCENE_H_ #ifndef AEON_SCENE_H_
#define 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> #include <Aeon/Includes.hpp>
class Scene 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 #endif