| 54 | } |
| 55 | |
| 56 | Texture* |
| 57 | TextureFactory::loadFromPack( Pack* Pack, const std::string& FilePackPath, const bool& Mipmap, |
| 58 | const Texture::ClampMode& ClampMode, const bool& CompressTexture, |
| 59 | const bool& KeepLocalCopy, |
| 60 | const Image::FormatConfiguration& imageformatConfiguration ) { |
| 61 | TextureLoader myTex( Pack, FilePackPath, Mipmap, ClampMode, CompressTexture, KeepLocalCopy ); |
| 62 | myTex.setFormatConfiguration( imageformatConfiguration ); |
| 63 | myTex.load(); |
| 64 | return myTex.getTexture(); |
| 65 | } |
| 66 | |
| 67 | Texture* |
| 68 | TextureFactory::loadFromMemory( const unsigned char* ImagePtr, const unsigned int& Size, |
nothing calls this directly
no test coverage detected