sourCEntral - mobile manpages

pdf

set_luminance_blender

NAME

set_luminance_blender − Enables a luminance blender mode. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

void set_luminance_blender(int r, int g, int b, int a);

DESCRIPTION

Enables a luminance blender mode for combining translucent or lit truecolor pixels. Applies the luminance of the source to the destination. The colour of the destination is not affected.

SEE ALSO

set_trans_blender(3), drawing_mode(3)

pdf