MCPcopy Create free account
hub / github.com/SpartanJ/eepp / loadFromStream

Method loadFromStream

src/eepp/graphics/texturefactory.cpp:78–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78Texture*
79TextureFactory::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
89Texture*
90TextureFactory::loadFromFile( const std::string& Filepath, const bool& Mipmap,

Callers

nothing calls this directly

Calls 3

loadMethod · 0.45
getTextureMethod · 0.45

Tested by

no test coverage detected