Add texture module
This commit is contained in:
19
include/opengl-playground/opengltexture.hpp
Normal file
19
include/opengl-playground/opengltexture.hpp
Normal 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
|
Reference in New Issue
Block a user