A generic image structure. [詳細]
#include <image.h>
Public 変数 | |
| short | height |
| The height of the image in pixels. | |
| short | width |
| The width of the image in pixels. | |
| int | bpp |
| Bits per pixel (should be 4 8 16 or 24). | |
| unsigned short * | palette |
| A pointer to the palette data. | |
| union { | |
| u8 * data8 | |
| u16 * data16 | |
| u32 * data32 | |
| } | image |
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/Sprites/fire_and_sprites/source/main.cpp, と input/Touch_Pad/touch_look/source/main.cpp.
| unsigned short* sImage::palette |
1.6.3