diff options
Diffstat (limited to 'src/RendererEntity.hpp')
-rw-r--r-- | src/RendererEntity.hpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/RendererEntity.hpp b/src/RendererEntity.hpp index 346f9fb..b9097bd 100644 --- a/src/RendererEntity.hpp +++ b/src/RendererEntity.hpp @@ -1,17 +1,14 @@ #pragma once -#include <GL/glew.h> +#include "Gal.hpp" -class RenderState; class World; class RendererEntity { unsigned int entityId; + std::shared_ptr<Gal::Pipeline> pipeline; public: RendererEntity(unsigned int id); - ~RendererEntity(); - void Render(RenderState& renderState, const World *world); - - static GLuint GetVao(); + void Render(std::shared_ptr<Gal::Pipeline> pipeline, const World *world); }; |