ALLEGRO_BITMAP_WRAP(3)

ALLEGRO_BITMAP_WRAP3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
typedef enum ALLEGRO_BITMAP_WRAP {

Overview

Controls the how the pixel color is determined from a texture querying the texture coordinates are outside the usual bounds.

•

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.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.