al_get_pixel_block_size man page

al_get_pixel_block_size — Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

int al_get_pixel_block_size(int format)

Description

Return the number of bytes that a block of pixels with this format occupies.

Since

5.1.9.

See Also

ALLEGRO_PIXEL_FORMAT(3), al_get_pixel_block_width(3), al_get_pixel_block_height(3)

Referenced By

al_get_pixel_block_height(3), al_get_pixel_block_width(3).

Allegro reference manual