1set_blender_mode_ex(3) Allegro manual set_blender_mode_ex(3)
2
3
4
6 set_blender_mode_ex - An even more complex version of
7 set_blender_mode(). Allegro game programming library.
8
10 #include <allegro.h>
11
12
13 void set_blender_mode_ex(BLENDER_FUNC b15, b16, b24, b32, b15x, b16x,
14 b24x, int r, g, b, a);
15
17 Like set_blender_mode(), but allows you to specify a more complete set
18 of blender routines. The b15, b16, b24, and b32 routines are used when
19 drawing pixels onto destinations of the same format, while b15x, b16x,
20 and b24x are used by draw_trans_sprite() and draw_trans_rle_sprite()
21 when drawing RGBA images onto destination bitmaps of another format.
22 These blenders will be passed a 32-bit x parameter, along with a y
23 value of a different color depth, and must try to do something sensible
24 in response.
25
26
27
28
30 set_blender_mode(3), set_alpha_blender(3)
31
32
33
34Allegro version 4.4.3 set_blender_mode_ex(3)