aboutsummaryrefslogtreecommitdiff
path: root/libjin/Graphics/OpenGL.h
blob: 2f087bed09fc7ed4ae059ec89193a8ecab1b7c6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef __LIBJIN_OPENGL_H
#define __LIBJIN_OPENGL_H
#include <vector>
#include "../3rdparty/GLee/GLee.h"
#include "Color.h"

namespace jin
{
namespace graphics
{

    /* 2d wrap of opengl 3.0 */
    class OpenGL
    {
    public: 
        OpenGL();

        void bindTexture(GLuint texture);

    private: 
        std::vector<Color> color;

        ~OpenGL();

    };
    
    /* OpenGL instance singleton */
    extern OpenGL gl;

}
}

#endif