NGL  6.5
The NCCA Graphics Library
Image.h File Reference

A generic Image loader / wrapper for different Image libs this allows us to load an image to be used (for example) in the Texture class as there are many different ways to do this this class has compile time options to choose the image loading library to use At present support is going to be QImage (for Qt builds) ImageMagic, OpenImageIO DevIL Image data will be stored in either RGB or RGBA contiguos unsigned char data. More...

#include <string>
#include <memory>
#include "Types.h"
#include "Colour.h"
+ Include dependency graph for Image.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ngl::Image
 

Namespaces

 ngl
 implementation files for RibExport class
 

Detailed Description

A generic Image loader / wrapper for different Image libs this allows us to load an image to be used (for example) in the Texture class as there are many different ways to do this this class has compile time options to choose the image loading library to use At present support is going to be QImage (for Qt builds) ImageMagic, OpenImageIO DevIL Image data will be stored in either RGB or RGBA contiguos unsigned char data.

Definition in file Image.h.