5 #include "ITextureFileLoader.h"
9 #include "IJpegLoader.h"
10 #include "IPNGDecoder.h"
17 using namespace Eegeo::Helpers;
33 static GLenum CalcPNGGLPixelFormat(
int color_type);
36 Byte *CreateImageDataFromPngStream(std::istream& stream, u32& width, u32& height,
int& colorType,
bool invertVertically);
50 const std::string& fileName,
61 const std::string& fileExtension,
62 const std::vector<Byte>& resourceBuffer,
69 const std::vector<
const std::vector<Byte>*>& cubeFaceBuffers,