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
map_rgb
Description:
[
CCode
( cname =
"SDL_MapRGB"
) ]
public
uint32
map_rgb
(
uint8
r,
uint8
g,
uint8
b)