Scroll to navigation

set_dissolve_blender(3alleg4) Allegro manual set_dissolve_blender(3alleg4)

NAME

set_dissolve_blender - Enables a dissolve blender mode. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

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

DESCRIPTION

Enables a dissolve blender mode for combining translucent or lit truecolor pixels. Randomly replaces the colours of some pixels in the destination image with those of the source image. The number of pixels replaced depends on the alpha value (higher value, more pixels replaced; you get the idea :).

SEE ALSO

set_trans_blender(3alleg4), drawing_mode(3alleg4)

version 4.4.3 Allegro