1al_get_pixel_size(3)                                      al_get_pixel_size(3)
2
3
4

NAME

6       al_get_pixel_size - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              int al_get_pixel_size(int format)
12

DESCRIPTION

14       Return  the  number of bytes that a pixel of the given format occupies.
15       For blocked pixel formats (e.g. compressed formats), this returns 0.
16

SEE ALSO

18       ALLEGRO_PIXEL_FORMAT(3), al_get_pixel_format_bits(3)
19
20
21
22Allegro reference manual                                  al_get_pixel_size(3)
Impressum