Unofficial OpenGL Software Development Kit  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Namespaces | Functions
StbLoader.h File Reference

Has the STB-based image loading functions. More...

#include <string>
#include "ImageSet.h"

Go to the source code of this file.


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...


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.


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.

Detailed Description

Has the STB-based image loading functions.