2014-10-22 21:17:18 +00:00
|
|
|
#include "texture.hh"
|
|
|
|
|
|
|
|
Texture::Texture(std::string filePath) {
|
|
|
|
reference = ACGL::OpenGL::Texture2DFileManager::the()->get(ACGL::OpenGL::Texture2DCreator(filePath));
|
|
|
|
}
|
|
|
|
|
2014-10-24 08:48:45 +00:00
|
|
|
Texture::Texture() {
|
|
|
|
}
|
|
|
|
|
2014-10-22 21:17:18 +00:00
|
|
|
Texture::~Texture() {
|
|
|
|
}
|
|
|
|
|
|
|
|
ACGL::OpenGL::SharedTexture2D Texture::getReference() {
|
|
|
|
return reference;
|
|
|
|
}
|