2014-10-20 17:09:34 +00:00
|
|
|
#ifndef TEXTURE_HH_INCLUDED
|
|
|
|
#define TEXTURE_HH_INCLUDED
|
|
|
|
|
|
|
|
#include <string>
|
2014-10-22 21:17:18 +00:00
|
|
|
#include <ACGL/OpenGL/Creator/Texture2DCreator.hh>
|
|
|
|
#include <ACGL/OpenGL/Data/TextureLoadStore.hh>
|
|
|
|
#include <ACGL/OpenGL/Managers.hh>
|
2014-10-20 17:09:34 +00:00
|
|
|
|
|
|
|
class Texture{
|
|
|
|
public:
|
|
|
|
Texture(std::string filePath);
|
2014-10-24 08:48:45 +00:00
|
|
|
Texture();
|
2014-10-22 21:17:18 +00:00
|
|
|
ACGL::OpenGL::SharedTexture2D getReference();
|
2014-10-20 17:09:34 +00:00
|
|
|
~Texture();
|
2014-11-06 18:20:13 +00:00
|
|
|
void load();
|
2014-10-20 17:09:34 +00:00
|
|
|
private:
|
2014-10-22 21:17:18 +00:00
|
|
|
ACGL::OpenGL::SharedTexture2D reference;
|
2014-10-20 17:09:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|