.\" Generated by the Allegro makedoc utility .TH create_blender_table 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME create_blender_table \- Emulates truecolor blender effects in paletted modes. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B void create_blender_table(COLOR_MAP *table, const PALETTE pal, .B void (*callback)(int pos)); .SH DESCRIPTION Fills the specified color mapping table with lookup data for doing a paletted equivalent of whatever truecolor blender mode is currently selected. After calling set_trans_blender(), set_blender_mode(), or any of the other truecolor blender mode routines, you can use this function to create an 8-bit mapping table that will have the same results as whatever 24-bit blending mode you have enabled. .SH SEE ALSO .BR color_map (3alleg4), .BR create_light_table (3alleg4), .BR create_trans_table (3alleg4), .BR create_color_table (3alleg4), .BR draw_trans_sprite (3alleg4), .BR draw_lit_sprite (3alleg4), .BR draw_gouraud_sprite (3alleg4), .BR set_trans_blender (3alleg4), .BR set_blender_mode (3alleg4)