---
name: "set_blender_mode"
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_blender_mode"
---

# set\_blender\_mode(3alleg)

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**(3alleg)](/set_blender_mode_ex/3alleg.md), [**set\_trans\_blender**(3alleg)](/set_trans_blender/3alleg.md), [**color\_map**(3alleg)](/color_map/3alleg.md), [**draw\_trans\_sprite**(3alleg)](/draw_trans_sprite/3alleg.md), [**draw\_lit\_sprite**(3alleg)](/draw_lit_sprite/3alleg.md), [**drawing\_mode**(3alleg)](/drawing_mode/3alleg.md)
