ALLEGRO_BITMAP_WRAP(3)

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

πŸ’– NAME πŸ’–

ALLEGRO_BITMAP_WRAP - Allegro 5 API. Hiii bestie, welcome to the ALLEGRO_BITMAP_WRAP(3) page from the Library Functions Manual β€” this enum is literally the wrap-mode lore for texture coordinates, and it's giving main-character energy. πŸ’…

✨ SYNOPSIS ✨

okay so here's the exact include + enum opening, no cap β€” copy it character-for-character:

#include <allegro5/allegro.h>

typedef enum ALLEGRO_BITMAP_WRAP {

🌈 DESCRIPTION 🌈

This enum controls how the pixel color is determined when a texture is being queried and the texture coordinates are outside the usual bounds. Basically: coords went off the edge? The wrap mode decides the vibe. πŸ¦‹

  • ALLEGRO_BITMAP_WRAP_DEFAULT β€” The default behavior. This corresponds to ALLEGRO_BITMAP_WRAP_REPEAT when using the primitives addon and ALLEGRO_BITMAP_WRAP_CLAMP otherwise.
  • ALLEGRO_BITMAP_WRAP_REPEAT β€” The texture coordinates get shifted to the opposite edge that they go past.
  • ALLEGRO_BITMAP_WRAP_CLAMP β€” The texture coordinates get clamped to the edges that they go past.
  • ALLEGRO_BITMAP_WRAP_MIRROR β€” The texture coordinates get mirrored across the edges that they go past.

and that's the whole page, bestie 🫢 β€” source/version: Allegro reference manual; page tag: ALLEGRO_BITMAP_WRAP(3); date: the footer doesn't list one, so no invented date here, periodt. πŸ’–

πŸ“¦ 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