#ifndef HEADER_GE_TEXTURE_HPP #define HEADER_GE_TEXTURE_HPP #include #include #include #include #include namespace GE { irr::video::ITexture* createFontTexture(const std::string& name, unsigned size, bool single_channel); irr::video::ITexture* createTexture(irr::video::IImage* img, const std::string& name); irr::core::dimension2d getResizingTarget( const irr::core::dimension2d& orig_size, const irr::core::dimension2d& max_size); irr::video::IImage* getResizedImage(const std::string& path, const irr::core::dimension2d& max_size, irr::core::dimension2d* orig_size = NULL); irr::video::IImage* getResizedImageFullPath(const irr::io::path& fullpath, const irr::core::dimension2d& max_size, irr::core::dimension2d* orig_size = NULL, const irr::core::dimension2d* target_size = NULL); irr::video::IImage* getResizedImage(irr::io::IReadFile* file, const irr::core::dimension2d& max_size, irr::core::dimension2d* orig_size = NULL, const irr::core::dimension2d* target_size = NULL); irr::video::ITexture* createTexture(const std::string& path, std::function image_mani = nullptr); }; // GE #endif