al_set_bitmap_blender(3)

al_set_bitmap_blender3

Allegro 5 api

Usage

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

Overview

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_separate_blender(3) are used instead.

To use separate functions for chroma (RGB) and alpha channels, use al_set_separate_bitmap_blender(3).

See al_set_blender(3) for more information about how blending works.

Since

5.2.5

[Unstable API]: New API.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.