rgb_map man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

rgb_map(3)			Allegro manual			    rgb_map(3)

NAME
       rgb_map - Look up table to speed up reducing RGB values to palette col‐
       ors. Allegro game programming library.

SYNOPSIS
       #include <allegro.h>

       extern RGB_MAP *rgb_map;

DESCRIPTION
       To speed up reducing RGB values to 8-bit paletted colors, Allegro  uses
       a  32k  lookup table (5 bits for each color component). You must set up
       this table before using the gouraud shading routines,  and  if  present
       the  table  will	 also  vastly  accelerate the makecol8() and some cre‐
       ate_*_table() functions. RGB  tables  can  be  precalculated  with  the
       rgbmap utility, or generated at runtime with create_rgb_table().

SEE ALSO
       create_rgb_table(3),	makecol8(3),	create_trans_table(3),	  cre‐
       ate_light_table(3),   create_color_table(3),   ex3d(3),	  excolmap(3),
       exrgbhsv(3), exshade(3), extrans(3)

Allegro				 version 4.4.2			    rgb_map(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net