---
name: "is_memory_bitmap"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/is_memory_bitmap/3alleg4"
---

# is\_memory\_bitmap(3alleg4)

Tells if a bitmap is a memory bitmap. Allegro game programming library.

## NAME

is\_memory\_bitmap - Tells if a bitmap is a memory bitmap. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**int is\_memory\_bitmap(BITMAP \*bmp);**

## DESCRIPTION

Returns TRUE if bmp is a memory bitmap, ie. it was created by calling  create\_bitmap() or loaded from a grabber datafile or image file. Memory  bitmaps can be accessed directly via the line pointers in the bitmap  structure, eg. bmp-\>line\[y\]\[x\] = color.

## SEE ALSO

**is\_linear\_bitmap**(3alleg4), **is\_planar\_bitmap**(3alleg4)
