Query: bitmap_color_depth
OS: mojave
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
bitmap_color_depth(3alleg4) Allegro manual bitmap_color_depth(3alleg4)NAMEbitmap_color_depth - Returns the color depth of the specified bitmap. Allegro game programming library.SYNOPSIS#include <allegro.h> int bitmap_color_depth(BITMAP *bmp);DESCRIPTIONReturns the color depth of the specified bitmap (8, 15, 16, 24, or 32). Example: switch (bitmap_color_depth(screen)) { case 8: /* Access screen using optimized 8-bit code. */ break; default: /* Use generic slow functions. */ break; }SEE ALSOset_color_depth(3alleg4), bitmap_mask_color(3alleg4), ex3d(3alleg4), exlights(3alleg4), exscn3d(3alleg4), exswitch(3alleg4), extrans(3alleg4), exupdate(3alleg4), exzbuf(3alleg4) Allegro version 4.4.2 bitmap_color_depth(3alleg4)
| Related Man Pages | 
|---|
| exscn3d(3alleg4) - centos | 
| bitmap_color_depth(3alleg4) - php | 
| exscn3d(3alleg4) - mojave | 
| bitmap_color_depth(3alleg4) - mojave | 
| bitmap_color_depth(3alleg4) - redhat | 
| Similar Topics in the Unix Linux Community | 
|---|
| Behaviour of default | 
| Switch |