Struct sdl2_sys::pixels::SDL_PixelFormat [] [src]

pub struct SDL_PixelFormat {
    pub format: SDL_PixelFormatEnum,
    pub palette: *mut SDL_Palette,
    pub BitsPerPixel: uint8_t,
    pub BytesPerPixel: uint8_t,
    pub padding: [uint8_t; 2],
    pub Rmask: uint8_t,
    pub Gmask: uint8_t,
    pub Bmask: uint8_t,
    pub Amask: uint8_t,
    pub Rloss: uint8_t,
    pub Gloss: uint8_t,
    pub Bloss: uint8_t,
    pub Aloss: uint8_t,
    pub Rshift: uint8_t,
    pub Gshift: uint8_t,
    pub Bshift: uint8_t,
    pub Ashift: uint8_t,
    pub refcount: c_int,
    pub next: *mut SDL_PixelFormat,
}

Fields

format
palette
BitsPerPixel
BytesPerPixel
padding
Rmask
Gmask
Bmask
Amask
Rloss
Gloss
Bloss
Aloss
Rshift
Gshift
Bshift
Ashift
refcount
next