ALLEGRO_BITMAP_WRAP(3alleg5)

ALLEGRO_BITMAP_WRAP3alleg5

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.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From allegro5-doc 2:5.2.10.1+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.