1al_set_bitmap_blender(3) al_set_bitmap_blender(3)
2
3
4
6 al_set_bitmap_blender - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 void al_set_bitmap_blender(int op, int src, int dest)
12
14 Sets the function to use for blending when rendering to the target bit‐
15 map. If no blender is set for a given bitmap at draw time, the values
16 set for al_set_blender(3)/al_set_separate_blender(3) are used instead.
17
18 To use separate functions for chroma (RGB) and alpha channels, use
19 al_set_separate_bitmap_blender(3).
20
21 See al_set_blender(3) for more information about how blending works.
22
24 al_set_separate_bitmap_blender(3), al_reset_bitmap_blender(3)
25
27 5.2.5
28
29 [Unstable API]: New API.
30
31
32
33Allegro reference manual al_set_bitmap_blender(3)