[][src]Function fermium::pixels::SDL_MasksToPixelFormatEnum

pub unsafe extern "C" fn SDL_MasksToPixelFormatEnum(
    bpp: c_int,
    Rmask: u32,
    Gmask: u32,
    Bmask: u32,
    Amask: u32
) -> u32

Convert a bpp and RGBA masks to an enumerated pixel format.

Return: The pixel format, or SDL_PIXELFORMAT_UNKNOWN if the conversion wasn't possible.