|
SDL 3.0
|
#include <SDL_pixels.h>
Collaboration diagram for SDL_Palette:Data Fields | |
| int | ncolors |
| SDL_Color * | colors |
| Uint32 | version |
| int | refcount |
A set of indexed colors representing a palette.
Definition at line 1138 of file SDL_pixels.h.
| SDL_Color* SDL_Palette::colors |
an array of colors, ncolors long.
Definition at line 1141 of file SDL_pixels.h.
| int SDL_Palette::ncolors |
number of elements in colors.
Definition at line 1140 of file SDL_pixels.h.
| int SDL_Palette::refcount |
internal use only, do not touch.
Definition at line 1143 of file SDL_pixels.h.
| Uint32 SDL_Palette::version |
internal use only, do not touch.
Definition at line 1142 of file SDL_pixels.h.