---
name: "al_get_bitmap_samples"
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_get_bitmap_samples"
---

# al\_get\_bitmap\_samples(3)

Allegro 5 API

## NAME

al\_get\_bitmap\_samples - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  int al_get_bitmap_samples(ALLEGRO_BITMAP *bitmap)
  ```

## DESCRIPTION

Return the multi-sampling samples used by this bitmap if it is used with [al\_set\_target\_bitmap(3)](/al_set_target_bitmap/3.md).

## SINCE

5\.2.1

*\[Unstable API\]:* This is an experimental feature and currently only works for the OpenGL backend.
