GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  BITMAP_COLOR_DEPTH (3)

NAME

bitmap_color_depth - Returns the color depth of the specified bitmap. Allegro game programming library.

CONTENTS

Synopsis
Description
See Also

SYNOPSIS

#include <allegro.h>

int bitmap_color_depth(BITMAP *bmp);

DESCRIPTION

Returns 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 ALSO

set_color_depth(3), bitmap_mask_color(3), ex3d(3), exlights(3), exscn3d(3), exswitch(3), extrans(3), exupdate(3), exzbuf(3)
Search for    or go to Top of page |  Section 3 |  Main Index


Allegro BITMAP_COLOR_DEPTH (3) version 4.4.2

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.