Add texture module

This commit is contained in:
2020-03-21 19:59:30 +01:00
parent b50cb62ac3
commit b22be7d6a5
2 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#ifndef OPENGLTEXTURE_HPP
#define OPENGLTEXTURE_HPP
#include <epoxy/gl.h>
class OpenGlTexture
{
public:
OpenGlTexture();
OpenGlTexture(const OpenGlTexture &tex);
OpenGlTexture(const OpenGlTexture &&tex);
~OpenGlTexture();
protected:
GLuint texture;
};
#endif // OPENGLTEXTURE_HPP