A generic image structure. More...
#include <image.h>
Data Fields | |
| int | bpp |
| Bits per pixel (should be 4 8 16 or 24). | |
| short | height |
| The height of the image in pixels. | |
| union { | |
| u16 * data16 | |
| pointer to 16 bit data. | |
| u32 * data32 | |
| pointer to 32 bit data. | |
| u8 * data8 | |
| pointer to 8 bit data. | |
| } | image |
| A union of data pointers to the pixel data. | |
| unsigned short * | palette |
| A pointer to the palette data. | |
| short | width |
| The width of the image in pixels. | |
A generic image structure.
Graphics/3D/nehe/lesson06/source/nehe6.cpp, Graphics/3D/nehe/lesson07/source/nehe7.cpp, Graphics/3D/nehe/lesson08/source/nehe8.cpp, Graphics/3D/nehe/lesson09/source/nehe9.cpp, Graphics/3D/nehe/lesson10/source/nehe10.cpp, Graphics/3D/nehe/lesson10b/source/nehe10b.cpp, Graphics/3D/nehe/lesson11/source/nehe11.cpp, Graphics/3D/Ortho/source/main.cpp, Graphics/Sprites/fire_and_sprites/source/main.cpp, and input/Touch_Pad/touch_look/source/main.cpp.
1.6.3