Unofficial OpenGL Software Development Kit  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Image Loaders

Functions for loading image files into ImageSet objects.

These function are defined to work for certain specific file formats. You are expected to delete the ImageSet object returned by the loader functions.

If the image loader fails, then it will throw some form of exception that is ultimately derived from std::exception. Each particular loader will have a set of exceptions that it can throw.

All image loaders live in the glimg::loaders namespace. Each kind of loader has its own subnamespace.


namespace  glimg::loaders::dds
 Contains the DDS loader functions and exceptions.
namespace  glimg::loaders::stb
 Contains the loader for PNG, JPEG, TGA, BMP, and GIF formats.