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