---
name: "is_video_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_video_bitmap"
---

# is\_video\_bitmap(3alleg)

Tells if a bitmap is a screen bitmap, video memory or sub bitmap. Allegro game programming library.

## NAME

is\_video\_bitmap - Tells if a bitmap is a screen bitmap, video memory or sub bitmap. Allegro game programming library.

## SYNOPSIS

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

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

## DESCRIPTION

Returns TRUE if bmp is the screen bitmap, a video memory bitmap, or a  sub-bitmap of either.

## SEE ALSO

[**screen**(3alleg)](/screen/3alleg.md), [**create\_video\_bitmap**(3alleg)](/create_video_bitmap/3alleg.md), [**create\_sub\_bitmap**(3alleg)](/create_sub_bitmap/3alleg.md)
