logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

set_blender_mode_ex - An even more complex version of set_blender_mode(). Allegro game programming

Description

       Like set_blender_mode(), but allows you to specify a more complete set of blender routines. The b15, b16,
       b24, and b32 routines are used when drawing pixels onto destinations of  the  same  format,  while  b15x,
       b16x,  and b24x are used by draw_trans_sprite() and draw_trans_rle_sprite() when drawing RGBA images onto
       destination bitmaps of another format. These blenders will be passed a 32-bit x parameter, along with a y
       value of a different color depth, and must try to do something sensible in response.

Name

       set_blender_mode_ex  -  An  even  more  complex  version  of set_blender_mode(). Allegro game programming
       library.

See Also

set_blender_mode(3alleg4), set_alpha_blender(3alleg4)

Allegro                                           version 4.4.3                     set_blender_mode_ex(3alleg4)

Synopsis

#include<allegro.h>voidset_blender_mode_ex(BLENDER_FUNCb15,b16,b24,b32,b15x,b16x,b24x,intr,g,b,a);

See Also