1al_get_pixel_size(3) Library Functions Manual al_get_pixel_size(3)
23
4
NAME
6al_get_pixel_size
7
SYNOPSIS
9#include <allegro5/allegro.h>
1011
int al_get_pixel_size(int format)
12
DESCRIPTION
14Return the number of bytes that a pixel of the given format occupies.
15
SEE ALSO
17ALLEGRO_PIXEL_FORMAT(3), al_get_pixel_format_bits(3)
1819
20
21
Allegro reference manual al_get_pixel_size(3)