summaryrefslogtreecommitdiffstats
path: root/src/RendererEntity.hpp
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-11-17 06:59:16 +0100
committerLaG1924 <lag1924@gmail.com>2021-11-17 06:59:16 +0100
commit513fe5ebe3f59aa8d85d9517db9fe0bfa531d3dc (patch)
treea54c7a24e93b96c8ba8fce248f4fcc60a44924d8 /src/RendererEntity.hpp
parentChanged section rendering to Gal (diff)
downloadAltCraft-513fe5ebe3f59aa8d85d9517db9fe0bfa531d3dc.tar
AltCraft-513fe5ebe3f59aa8d85d9517db9fe0bfa531d3dc.tar.gz
AltCraft-513fe5ebe3f59aa8d85d9517db9fe0bfa531d3dc.tar.bz2
AltCraft-513fe5ebe3f59aa8d85d9517db9fe0bfa531d3dc.tar.lz
AltCraft-513fe5ebe3f59aa8d85d9517db9fe0bfa531d3dc.tar.xz
AltCraft-513fe5ebe3f59aa8d85d9517db9fe0bfa531d3dc.tar.zst
AltCraft-513fe5ebe3f59aa8d85d9517db9fe0bfa531d3dc.zip
Diffstat (limited to 'src/RendererEntity.hpp')
-rw-r--r--src/RendererEntity.hpp9
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);
};