---
name: "al_set_bitmap_blender"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_set_bitmap_blender/3alleg5"
---

# al\_set\_bitmap\_blender(3alleg5)

Allegro 5 API

## NAME

al\_set\_bitmap\_blender - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  void al_set_bitmap_blender(int op, int src, int dest)
  ```

## DESCRIPTION

Sets the function to use for blending when rendering to the target bitmap. If no blender is set for a given bitmap at draw time, the values set for al\_set\_blender(3alleg5)/al\_set\_separate\_blender(3alleg5) are used instead.

To use separate functions for chroma (RGB) and alpha channels, use al\_set\_separate\_bitmap\_blender(3alleg5).

See al\_set\_blender(3alleg5) for more information about how blending works.

## SEE ALSO

al\_set\_separate\_bitmap\_blender(3alleg5), al\_reset\_bitmap\_blender(3alleg5)

## SINCE

5\.2.5

*\[Unstable API\]:* New API.
