Packages
sdl2
SDL
Video
Palette
Palette
set_colors
up
colors
refcount
version
Palette
Object Hierarchy:
SDL.Video.Palette
SDL.Video.Palette
SDL.Video.Palette
Description:
[
CCode
( cname =
"SDL_Palette"
, free_function =
"SDL_FreePalette"
, ref_function =
"SDL_Palette_up"
, unref_function =
"SDL_FreePalette"
) ]
public
class
Palette
Namespace:
SDL.Video
Package:
sdl2
Content:
Creation methods:
public
Palette
(
int
colors_num)
Methods:
public
int
set_colors
(
Color
[] colors,
int
first_color)
public
unowned
Palette
up
()
Fields:
public
Color
[]
colors
public
int
refcount
public
uint32
version