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.

RELATED TO is_memory_bitmap…

is_linear_bitmap(3alleg4), is_planar_bitmap(3alleg4)