logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

get_palette - Retrieves the entire palette of 256 colors. Allegro game programming library.

Description

       Retrieves the entire palette of 256 colors. You should provide an array of 256 RGB structures to store it
       in. Example:

          PALETTE pal;
          ...
          get_palette(pal);

Name

       get_palette - Retrieves the entire palette of 256 colors. Allegro game programming library.

See Also

get_palette_range(3alleg4), get_color(3alleg4), set_palette(3alleg4)

Allegro                                           version 4.4.3                             get_palette(3alleg4)

Synopsis

#include<allegro.h>voidget_palette(PALETTEp);

See Also