1load_tga(3)                     Allegro manual                     load_tga(3)
2
3
4

NAME

6       load_tga  -  Loads  a  TGA bitmap from a file. Allegro game programming
7       library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       BITMAP *load_tga(const char *filename, RGB *pal);
14

DESCRIPTION

16       Loads a 256-color, 15-bit hicolor, 24-bit truecolor,  or  32-bit  true‐
17       color+alpha TGA file.
18

RETURN VALUE

20       Returns a pointer to the bitmap or NULL on error. Remember that you are
21       responsible for destroying the bitmap when you are finished with it  to
22       avoid memory leaks.
23
24

SEE ALSO

26       load_bitmap(3)
27
28
29
30Allegro                          version 4.4.2                     load_tga(3)
Impressum