[−][src]Function sdl2_sys::SDL_MasksToPixelFormatEnum
pub unsafe extern "C" fn SDL_MasksToPixelFormatEnum(
bpp: c_int,
Rmask: Uint32,
Gmask: Uint32,
Bmask: Uint32,
Amask: Uint32
) -> Uint32
\brief 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.
\sa SDL_PixelFormatEnumToMasks()