| 65 | } |
| 66 | |
| 67 | Texture* |
| 68 | TextureFactory::loadFromMemory( const unsigned char* ImagePtr, const unsigned int& Size, |
| 69 | const bool& Mipmap, const Texture::ClampMode& ClampMode, |
| 70 | const bool& CompressTexture, const bool& KeepLocalCopy, |
| 71 | const Image::FormatConfiguration& imageformatConfiguration ) { |
| 72 | TextureLoader myTex( ImagePtr, Size, Mipmap, ClampMode, CompressTexture, KeepLocalCopy ); |
| 73 | myTex.setFormatConfiguration( imageformatConfiguration ); |
| 74 | myTex.load(); |
| 75 | return myTex.getTexture(); |
| 76 | } |
| 77 | |
| 78 | Texture* |
| 79 | TextureFactory::loadFromStream( IOStream& Stream, const bool& Mipmap, |
nothing calls this directly
no test coverage detected