Beispiel #1
0
 public void SetPaletteStr(SDL.SDL_Palette ThePixelFormat)
 {
     Marshal.StructureToPtr(ThePixelFormat, myPtr, true);
 }
Beispiel #2
0
 public Palette(IEnumerable <Color> colors)
 {
     _sdlPalette = new SDL.SDL_Palette();
 }