Unofficial OpenGL Software Development Kit: C:/Projects/distro/glsdk_0_5_1/glimg/include/glimg/StbLoader.h File Reference

Unofficial OpenGL Software Development Kit 0.5.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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.

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

## Detailed Description

Has the STB-based image loading functions.