Packages
sdl2
SDL
Video
PixelFormat
calc_gamma_ramp
enum_tomasks
get_pixelformatname
masks_toenum
PixelFormat
get_rgb
get_rgba
map_rgb
map_rgba
set_palette
up
a_loss
a_mask
a_shift
b_loss
b_mask
b_shift
bits_per_pixel
bytes_per_pixel
format
g_loss
g_mask
g_shift
next
palette
r_loss
r_mask
r_shift
refcount
get_rgb
Description:
[
CCode
( cname =
"SDL_GetRGB"
, instance_pos =
1.2
) ]
public
void
get_rgb
(
uint32
pixel,
ref
uint8
r,
ref
uint8
g,
ref
uint8
b)