Saxum/texture.hh

19 lines
423 B
C++
Raw Normal View History

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-22 21:17:18 +00:00
ACGL::OpenGL::SharedTexture2D getReference();
2014-10-20 17:09:34 +00:00
~Texture();
private:
2014-10-22 21:17:18 +00:00
ACGL::OpenGL::SharedTexture2D reference;
2014-10-20 17:09:34 +00:00
};
#endif