---
name: "set_multiply_blender"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/set_multiply_blender"
---

# set\_multiply\_blender(3alleg)

Enables a multiply blender mode. Allegro game programming library.

## NAME

set\_multiply\_blender - Enables a multiply blender mode. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**void set\_multiply\_blender(int r, int g, int b, int a);**

## DESCRIPTION

Enables a multiply blender mode for combining translucent or lit  truecolor pixels. Combines the source and destination images, multiplying  the colours to produce a darker colour. If a colour is multiplied by  white it remains unchanged; when multiplied by black it also becomes  black.

## SEE ALSO

[**set\_trans\_blender**(3alleg)](/set_trans_blender/3alleg.md), [**drawing\_mode**(3alleg)](/drawing_mode/3alleg.md), [**exalpha**(3alleg)](/exalpha/3alleg.md)
