Unofficial OpenGL Software Development Kit
0.5.0
|
Has the STB-based image loading functions. More...
Go to the source code of this file.
Classes | |
class | glimg::loaders::stb::StbLoaderException |
Base class for all exceptions thrown by the STB loaders. More... | |
class | glimg::loaders::stb::UnableToLoadException |
Thrown when the STB loader could not load the image. More... | |
Namespaces | |
namespace | glimg |
The main GL Image library namespace. | |
namespace | glimg::loaders |
Namespace for all file loaders. | |
namespace | glimg::loaders::stb |
Contains the loader for PNG, JPEG, TGA, BMP, and GIF formats. | |
Functions | |
ImageSet * | glimg::loaders::stb::LoadFromFile (const std::string &filename) |
Loads a file from the disk, given an ASCII filename. More... | |
ImageSet * | glimg::loaders::stb::LoadFromMemory (const unsigned char *buffer, size_t bufSize) |
As LoadFromFile, but from an already loaded buffer. The buffer pointer may be deleted after this call. | |
Has the STB-based image loading functions.