Classes | |
| class | gbImageLoader |
| Used for loading image files. More... | |
| class | gbImageType_BMP_T |
| class | gbImageType_TGA_T |
| struct | BITMAPFILEHEADER |
| struct | BITMAPINFOHEADER |
| struct | TGAHEADER |
Functions | |
| void | WriteImage (char const *fname, GhulbusGraphics::GBCOLOR const *data, int width, int height) |
| Writes image data to a TGA image file. | |
| gbImageLoader::gbImageType * | gbImageType_BMP () |
| Get a loading strategy for BMP files; use in gbImageLoader. | |
| gbImageLoader::gbImageType * | gbImageType_TGA () |
| Get a loading strategy for TGA files; use in gbImageLoader. | |
Variables | |
|
struct GhulbusUtil::BITMAPFILEHEADER | packed |
| gbImageLoader::gbImageType * GhulbusUtil::gbImageType_BMP | ( | ) |
Get a loading strategy for BMP files; use in gbImageLoader.
| gbImageLoader::gbImageType * GhulbusUtil::gbImageType_TGA | ( | ) |
Get a loading strategy for TGA files; use in gbImageLoader.
| void GhulbusUtil::WriteImage | ( | char const * | fname, | |
| GhulbusGraphics::GBCOLOR const * | data, | |||
| int | width, | |||
| int | height | |||
| ) |
Writes image data to a TGA image file.
| [in] | fname | Full path to the output file |
| [in] | data | Field containing the image data as 32bit ARGB |
| [in] | width | Image width in pixels |
| [in] | height | Image height in pixels |
| Ghulbus::gbException | GB_FAILED indicates a file access error |
1.5.4