ALLEGRO_BITMAP_WRAP(3)
π 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 toALLEGRO_BITMAP_WRAP_REPEATwhen using the primitives addon andALLEGRO_BITMAP_WRAP_CLAMPotherwise.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