SDL::Palette -- Color palette for 8-bit pixel formats
Core, Video, Structure
Each pixel in an 8-bit surface is an index into the colors field of the
SDL::Palette structure store in
SDL::Palette should never need to be created manually.
It is automatically created when SDL allocates a
SDL::PixelFormat for a surface.
The colors values of a
SDL::Surface's palette can be set with the
Fetches the number of colors in palette
Fetches an array of colors in palette
Fetches the SDL_Color at the provide index in palette
See "AUTHORS" in SDL.