Struct fermium::pixels::SDL_Palette [−][src]
#[repr(C)]pub struct SDL_Palette {
pub ncolors: c_int,
pub colors: *mut SDL_Color,
pub version: u32,
pub refcount: c_int,
}
Expand description
Info about a palette of colors.
Generally, you shouldn’t alter these fields. In fact usually you shouldn’t even allocate or free these on your own, SDL2 will do so for you at the appropriate times.
Fields
ncolors: c_int
colors: *mut SDL_Color
version: u32
refcount: c_int