![]() |
Home · All Namespaces · All Classes · Functions · Coding Style · Plugins · File Structure |
#include <StelTextureMgr.hpp>
Inherits ImageLoader.
Static Public Member Functions | |
static bool | loadFromMemory (const QByteArray &data, TexInfo &texinfo) |
This implementation supports LUMINANCE or RGB.
static bool JpgLoader::loadFromMemory | ( | const QByteArray & | data, | |
TexInfo & | texinfo | |||
) | [static] |
Load the jpeg data from a buffer already in memory.
The implementation doesn't use the Qt loading for performances reasons.
data | the array containing the raw compressed image bytes | |
texinfo | the texinfo to generate |