Untitled Game engine no.5
1.0
|
5 #ifndef ENGINE_PROJ_SCENERENDERER_HPP
6 #define ENGINE_PROJ_SCENERENDERER_HPP
8 #include "Renderer.hpp"
25 ECS ecs = scene.GetECS();
45 #endif //ENGINE_PROJ_SCENERENDERER_HPP
Scene Component for passing drawing data to the renderer. Stores vertex data and references to the te...
Definition: MeshRenderer.hpp:15
Entity Component System.
Definition: ECS.hpp:19
A container for entities currently in the Scene.
Definition: Scene.hpp:9
std::vector< EntityID > GetEntitiesWith()
Definition: ECS.hpp:188
Definition: SceneRenderer.hpp:14
Ref< C > GetComponent(const EntityID &id)
Definition: ECS.hpp:80
Definition: Animation.hpp:14
std::unique_ptr< T > Uni
Has stuff for making references a lot more easily shared smart pointer representing a unique object.
Definition: Base.hpp:12
static void Submit(const Uni< Renderer > &renderer, Scene &scene)
Render a scene to the renderer.
Definition: SceneRenderer.hpp:24