.\" Automatically generated by Pandoc 3.1.6.2 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "ALLEGRO_BITMAP_WRAP" "3" "" "Allegro reference manual" "" .hy .SH NAME .PP ALLEGRO_BITMAP_WRAP - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include typedef enum ALLEGRO_BITMAP_WRAP { \f[R] .fi .SH DESCRIPTION .PP Controls the how the pixel color is determined from a texture querying the texture coordinates are outside the usual bounds. .IP \[bu] 2 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. .IP \[bu] 2 ALLEGRO_BITMAP_WRAP_REPEAT - The texture coordinates get shifted to the opposite edge that they go past. .IP \[bu] 2 ALLEGRO_BITMAP_WRAP_CLAMP - The texture coordinates get clamped to the edges that they go past. .IP \[bu] 2 ALLEGRO_BITMAP_WRAP_MIRROR - The texture coordinates get mirrored across the edges that they go past.