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

Method LoadArrayFromFile

src/Nazara/Utility/Image.cpp:884–894  ·  view source on GitHub ↗

LoadArray

Source from the content-addressed store, hash-verified

882
883 // LoadArray
884 bool Image::LoadArrayFromFile(const String& filePath, const ImageParams& imageParams, const Vector2ui& atlasSize)
885 {
886 Image image;
887 if (!image.LoadFromFile(filePath, imageParams))
888 {
889 NazaraError("Failed to load image");
890 return false;
891 }
892
893 return LoadArrayFromImage(image, atlasSize);
894 }
895
896 bool Image::LoadArrayFromImage(const Image& image, const Vector2ui& atlasSize)
897 {

Callers

nothing calls this directly

Calls 1

LoadFromFileMethod · 0.45

Tested by

no test coverage detected