MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / LoadArrayFromStream

Method LoadArrayFromStream

src/Nazara/Utility/Image.cpp:970–980  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

968 }
969
970 bool Image::LoadArrayFromStream(Stream& stream, const ImageParams& imageParams, const Vector2ui& atlasSize)
971 {
972 Image image;
973 if (!image.LoadFromStream(stream, imageParams))
974 {
975 NazaraError("Failed to load image");
976 return false;
977 }
978
979 return LoadArrayFromImage(image, atlasSize);
980 }
981
982 bool Image::LoadCubemapFromFile(const String& filePath, const ImageParams& imageParams, const CubemapParams& cubemapParams)
983 {

Callers

nothing calls this directly

Calls 1

LoadFromStreamMethod · 0.45

Tested by

no test coverage detected