libdragon
|
Sprite structure. More...
#include <graphics.h>
Data Fields | |
uint16_t | width |
Width in pixels. | |
uint16_t | height |
Height in pixels. | |
uint8_t | bitdepth |
Bit depth expressed in bytes. | |
uint8_t | format |
Sprite format. | |
uint8_t | hslices |
Number of horizontal slices for spritemaps. | |
uint8_t | vslices |
Number of vertical slices for spritemaps. | |
uint32_t | data [0] |
Start of graphics data. |
Sprite structure.
uint8_t sprite_t::bitdepth |
Bit depth expressed in bytes.
A 32 bit sprite would have a value of '4' here
uint8_t sprite_t::format |
Sprite format.