예제 #1
0
 public static extern int SDL_SetPixelFormatPalette(
     PixelFormat format,
     Palette palette
     );
예제 #2
0
 public static extern int SDL_SetPaletteColors(
     Palette palette,
     /*const*/ Color *colors,
     int firstcolor,
     int ncolors
     );
예제 #3
0
 public void SetPalette(Palette palette)
 {
     ErrorIfNegative(SDL_SetPixelFormatPalette(this, palette));
 }