logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ALLEGRO_BITMAP_WRAP - Allegro 5 API

Description

       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.

Allegro reference manual                                                            ALLEGRO_BITMAP_WRAP(3alleg5)

Name

       ALLEGRO_BITMAP_WRAP - Allegro 5 API

Synopsis

              #include <allegro5/allegro.h>

              typedef enum ALLEGRO_BITMAP_WRAP {

See Also