| 76 | } |
| 77 | |
| 78 | Texture* |
| 79 | TextureFactory::loadFromStream( IOStream& Stream, const bool& Mipmap, |
| 80 | const Texture::ClampMode& ClampMode, const bool& CompressTexture, |
| 81 | const bool& KeepLocalCopy, |
| 82 | const Image::FormatConfiguration& imageformatConfiguration ) { |
| 83 | TextureLoader myTex( Stream, Mipmap, ClampMode, CompressTexture, KeepLocalCopy ); |
| 84 | myTex.setFormatConfiguration( imageformatConfiguration ); |
| 85 | myTex.load(); |
| 86 | return myTex.getTexture(); |
| 87 | } |
| 88 | |
| 89 | Texture* |
| 90 | TextureFactory::loadFromFile( const std::string& Filepath, const bool& Mipmap, |
nothing calls this directly
no test coverage detected