is_memory_bitmap
Section: Allegro manual (3)
Updated: version 4.2.2
Index
Return to Main Contents
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(3),
is_planar_bitmap(3)