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
enum_tomasks
Description:
[
CCode
( cname =
"SDL_PixelFormatEnumToMasks"
) ]
public
static
bool
enum_tomasks
(
PixelRAWFormat
format,
out
int
bpp,
out
uint32
r_mask,
out
uint32
g_mask,
out
uint32
b_mask,
out
uint32
a_mask)