---
name: "set_blender_mode"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/set_blender_mode/3alleg4"
---

# set\_blender\_mode(3alleg4)

Specifies a custom set of truecolor blender routines. Allegro game programming library.

## NAME

set\_blender\_mode - Specifies a custom set of truecolor blender routines. Allegro game programming library.

## SYNOPSIS

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

**void set\_blender\_mode(BLENDER\_FUNC b15, b16, b24, int r, g, b, a);**

## DESCRIPTION

Specifies a custom set of truecolor blender routines, which can be used  to implement whatever special interpolation modes you need. This function  shares a single blender between the 24 and 32-bit modes.

## SEE ALSO

**set\_blender\_mode\_ex**(3alleg4), **set\_trans\_blender**(3alleg4), **color\_map**(3alleg4), **draw\_trans\_sprite**(3alleg4), **draw\_lit\_sprite**(3alleg4), **drawing\_mode**(3alleg4)
