LoadArray
| 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 | { |
nothing calls this directly
no test coverage detected