→The .BLP header
(the data in .BLP file is ARGB instead of RGBA) |
|||
| Line 10: | Line 10: | ||
uint8_t alpha_bits; // 0, 1, or 8 | uint8_t alpha_bits; // 0, 1, or 8 | ||
uint8_t alpha_type; // 0, 1, 7 or 8 | uint8_t alpha_type; // 0, 1, 7 or 8 | ||
uint8_t | uint8_t has_mips; // 0 = no mips levels, 1 = has mips (number of levels determined by image size) | ||
uint32_t width; // Image width in pixels | uint32_t width; // Image width in pixels | ||
uint32_t height; // Image height in pixels | uint32_t height; // Image height in pixels | ||