summaryrefslogtreecommitdiffstats
path: root/src/RendererEntity.hpp
blob: e2e8bf1e279b03d60ed0cb542db0eed3a35b4e14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <GL/glew.h>

class World;
class RenderState;

class RendererEntity {
    unsigned int entityId;
    World *world;
public:
    RendererEntity(World *ptr, unsigned int id);
    ~RendererEntity();

    void Render(RenderState& renderState);

    static GLuint GetVao();
};