| 87 | } |
| 88 | |
| 89 | Texture* |
| 90 | TextureFactory::loadFromFile( const std::string& Filepath, const bool& Mipmap, |
| 91 | const Texture::ClampMode& ClampMode, const bool& CompressTexture, |
| 92 | const bool& KeepLocalCopy, |
| 93 | const Image::FormatConfiguration& imageformatConfiguration ) { |
| 94 | TextureLoader myTex( Filepath, Mipmap, ClampMode, CompressTexture, KeepLocalCopy ); |
| 95 | myTex.setFormatConfiguration( imageformatConfiguration ); |
| 96 | myTex.load(); |
| 97 | return myTex.getTexture(); |
| 98 | } |
| 99 | |
| 100 | Texture* TextureFactory::pushTexture( const std::string& Filepath, const Uint32& TexId, |
| 101 | const unsigned int& Width, const unsigned int& Height, |
nothing calls this directly
no test coverage detected