texture.cpp 296 B

1234567891011121314151617
  1. #include <wallpaperengine/texture.h>
  2. #include "irrlicht.h"
  3. namespace wp
  4. {
  5. texture::texture (irr::io::path file)
  6. {
  7. this->m_texture = wp::irrlicht::driver->getTexture (file);
  8. }
  9. irr::video::ITexture* texture::getIrrTexture ()
  10. {
  11. return this->m_texture;
  12. }
  13. }