1
0
Fork 0
2019-ecs/Source/Systems/RenderSystem.hpp

29 lines
360 B
C++

#pragma once
#include "Core/System.hpp"
#include "Graphics/Shader.hpp"
#include <memory>
class Event;
class RenderSystem : public System
{
public:
void Init();
void Update(float dt);
private:
void WindowSizeListener(Event& event);
std::unique_ptr<Shader> shader;
Entity mCamera;
GLuint mVao{};
GLuint mVboVertices{};
GLuint mVboNormals{};
};