.\" 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 "al_set_new_bitmap_wrap" "3" "" "Allegro reference manual" "" .hy .SH NAME .PP al_set_new_bitmap_wrap - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include void al_set_new_bitmap_wrap(ALLEGRO_BITMAP_WRAP u, ALLEGRO_BITMAP_WRAP v) \f[R] .fi .SH DESCRIPTION .PP Sets the texture wrapping settings for newly created bitmaps (on the current thread). Typically you take advantage of this feature either via the primitives addon (see al_draw_prim(3) and others) or via custom shaders (see ALLEGRO_SHADER(3)). .RS .PP \f[I]Note:\f[R] In the context of custom shaders, Direct3D and OpenGL have different granularities for controlling this setting. Direct3D sets wrapping setting for each sampler separately, while OpenGL sets it per-texture. This interacts particularly poorly with the primitives addon which (for backwards compatibility) alters the wrapping setting. To minimize this issue, use a wrapping setting that\[cq]s not ALLEGRO_BITMAP_WRAP_DEFAULT. .RE .SH SINCE .PP 5.2.8 .RS .PP \f[I][Unstable API]:\f[R] This is an experimental feature. .RE .SH SEE ALSO .PP ALLEGRO_BITMAP_WRAP(3)