---
name: "al_set_bitmap_blender"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_set_bitmap_blender"
---

# al\_set\_bitmap\_blender(3)

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(3)](/al_set_blender/3.md)/[al\_set\_separate\_blender(3)](/al_set_separate_blender/3.md) are used instead.

To use separate functions for chroma (RGB) and alpha channels, use [al\_set\_separate\_bitmap\_blender(3)](/al_set_separate_bitmap_blender/3.md).

See [al\_set\_blender(3)](/al_set_blender/3.md) for more information about how blending works.

## SEE ALSO

[al\_set\_separate\_bitmap\_blender(3)](/al_set_separate_bitmap_blender/3.md), [al\_reset\_bitmap\_blender(3)](/al_reset_bitmap_blender/3.md)

## SINCE

5\.2.5

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