|
#define | TGA_FILE_OK 0 |
| Not yet documented.
|
|
#define | TGA_FILE_UNKNOWN_FORMAT -1 |
| Not yet documented.
|
|
#define | TGA_FILE_CORRUPTED -2 |
| Not yet documented.
|
|
#define | TGA_FILE_NOT_SUPPORTED -3 |
| Not yet documented.
|
|
#define | TGA_MEMORY_ERROR -4 |
| Not yet documented.
|
|
#define | TGA_MEMORY_UNALIGNMENT_ERROR -5 |
| Not yet documented.
|
|
This is where the library is described.
◆ tga_t
Data Fields |
const char * |
tga_file |
Not yet documented. |
uint8_t |
tga_type |
Not yet documented. |
uint8_t |
tga_bpp |
Not yet documented. |
uint16_t |
tga_width |
Not yet documented. |
uint16_t |
tga_height |
Not yet documented. |
uint8_t |
tga_cmap_bpp |
Not yet documented. |
uint16_t |
tga_cmap_len |
Not yet documented. |
uint32_t |
tga_cmap_bytes |
Not yet documented. |
struct tga_t.tga_options |
tga_options |
User modifiable. |
◆ tga_t.tga_options
Data Fields |
uint32_t |
transparent_pixel |
Determine the transparent pixel color (in RGB555). |
bool |
msb |
Enable setting MSB bit for transparent pixel color. |
◆ tga_read()
Not yet documented.
- Parameters
-
- Returns
- Not yet documented.
◆ tga_image_decode_tiled()
int32_t tga_image_decode_tiled |
( |
const tga_t * |
tga, |
|
|
void * |
dst |
|
) |
| |
Not yet documented.
- Parameters
-
- Returns
- Not yet documented.
◆ tga_image_decode()
Not yet documented.
- Parameters
-
- Returns
- Not yet documented.
◆ tga_cmap_decode()
Not yet documented.
- Parameters
-
- Returns
- Not yet documented.
◆ tga_error_stringify()
const char * tga_error_stringify |
( |
int |
error | ) |
|
Not yet documented.
- Parameters
-
- Returns
- Not yet documented.