---
name: "is_memory_bitmap"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/is_memory_bitmap"
---

# is\_memory\_bitmap(3alleg)

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**(3alleg)](/is_linear_bitmap/3alleg.md), [**is\_planar\_bitmap**(3alleg)](/is_planar_bitmap/3alleg.md)
