public static extern int SDL_SetPixelFormatPalette( PixelFormat format, Palette palette );
public static extern int SDL_SetPaletteColors( Palette palette, /*const*/ Color *colors, int firstcolor, int ncolors );
public void SetPalette(Palette palette) { ErrorIfNegative(SDL_SetPixelFormatPalette(this, palette)); }