Saxum/material.cc
2014-11-08 00:42:58 +01:00

16 lines
302 B
C++

#include "texture.hh"
Texture::Texture(std::string filePath) {
reference = ACGL::OpenGL::Texture2DFileManager::the()->get(ACGL::OpenGL::Texture2DCreator(filePath));
}
Texture::Texture() {
}
Texture::~Texture() {
}
ACGL::OpenGL::SharedTexture2D Texture::getReference() {
return reference;
}