Packages
sdl2
SDL
Video
PixelRAWFormat
ABGR1555
ABGR4444
ABGR8888
ARGB1555
ARGB2101010
ARGB4444
ARGB8888
BGR24
BGR565
BGR888
BGRA4444
BGRA5551
BGRA8888
BGRX8888
INDEX1LSB
INDEX1MSB
INDEX4LSB
INDEX4MSB
INDEX8
IYUV
RGB24
RGB332
RGB444
RGB555
RGB565
RGB888
RGBA4444
RGBA5551
RGBA8888
RGBX8888
UNKNOWN
UYVY
YUY2
YV12
YVYU
define
define_from_four_cc
bits_per_pixel
bytes_per_pixel
get_pixel_flag
get_pixel_layout
get_pixel_order
get_pixel_type
is_alpha
is_indexed
PixelRAWFormat
Description:
[
CCode
( cname =
"Uint32"
, cprefix =
"SDL_PIXELFORMAT_"
, has_type_id =
false
) ]
public
enum
PixelRAWFormat
Namespace:
SDL.Video
Package:
sdl2
Content:
Enum values:
ABGR1555
ABGR4444
ABGR8888
ARGB1555
ARGB2101010
ARGB4444
ARGB8888
BGR24
BGR565
BGR888
BGRA4444
BGRA5551
BGRA8888
BGRX8888
INDEX1LSB
INDEX1MSB
INDEX4LSB
INDEX4MSB
INDEX8
IYUV
RGB24
RGB332
RGB444
RGB555
RGB565
RGB888
RGBA4444
RGBA5551
RGBA8888
RGBX8888
UNKNOWN
UYVY
YUY2
YV12
YVYU
Static methods:
public
static
PixelRAWFormat
define
(
PixelType
type,
BitmapOrder
order,
PackedLayout
layout,
uchar
bits,
uchar
bytes)
public
static
PixelRAWFormat
define_from_four_cc
(
char
a,
char
b,
char
c,
char
d)
Methods:
public
uchar
bits_per_pixel
()
public
uchar
bytes_per_pixel
()
public
uchar
get_pixel_flag
()
public
PackedLayout
get_pixel_layout
()
public
BitmapOrder
get_pixel_order
()
public
PixelType
get_pixel_type
()
public
bool
is_alpha
()
public
bool
is_indexed
()