create_rgb_table(3alleg4) php man page | unix.com

Man Page: create_rgb_table

Operating Environment: php

Section: 3alleg4

create_rgb_table(3alleg4)					  Allegro manual					 create_rgb_table(3alleg4)

NAME
create_rgb_table - Generates an RGB mapping table with lookup data for a palette. Allegro game programming library.
SYNOPSIS
#include <allegro.h> void create_rgb_table(RGB_MAP *table, const PALETTE pal, void (*callback)(int pos));
DESCRIPTION
Fills the specified RGB mapping table with lookup data for the specified palette. If the callback function is not NULL, it will be called 256 times during the calculation, allowing you to display a progress indicator. Example: RGB_MAP rgb_table; create_rgb_table(&rgb_table, palette, NULL); rgb_map = &rgb_table;
SEE ALSO
rgb_map(3alleg4), ex3d(3alleg4), excolmap(3alleg4), exrgbhsv(3alleg4), exshade(3alleg4), extrans(3alleg4) Allegro version 4.4.2 create_rgb_table(3alleg4)
Related Man Pages
exshade(3alleg4) - suse
rgb_map(3alleg4) - mojave
rgb_map(3alleg4) - linux
rgb_map(3alleg4) - v7
rgb_map(3alleg4) - freebsd
Similar Topics in the Unix Linux Community
Rules for Homework &amp; Coursework Questions Forum
UNIX.COM 2017 Year End Summary
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun