al_get_pixel_block_size(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

πŸ’– NAME πŸ’–

al_get_pixel_block_size β€” the Allegro 5 API function that gives you the byte size of a pixel block. This page is from the Allegro reference manual (filed under Library Functions Manual), and she's here to hand you the byte count tea. πŸ’…

πŸ“œ SYNOPSIS πŸ“œ

#include <allegro5/allegro.h>

int al_get_pixel_block_size(int format)

πŸ’¬ DESCRIPTION πŸ’¬

Okay so bestie, here's the whole vibe: this function returns the number of bytes that a block of pixels with this format occupies. That's it β€” no hidden side quest, no weird caveat, just the byte count for the block. Slay. ✨

⏰ SINCE ⏰

5.1.9. She's been around since then, periodt. 🫢

πŸ‘€ SEE ALSO πŸ‘€

These are the sibling pages to check next, iykyk. πŸ¦‹


source/version check: Allegro reference manual, version marker 5.1.9 Β· date: not printed on this page, bestie β€” that's the whole sign-off, mwah πŸ’‹

πŸ“¦ where this page comes from
  • arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms