[−][src]Function sdl2_sys::SDL_PixelFormatEnumToMasks
pub unsafe extern "C" fn SDL_PixelFormatEnumToMasks(
format: Uint32,
bpp: *mut c_int,
Rmask: *mut Uint32,
Gmask: *mut Uint32,
Bmask: *mut Uint32,
Amask: *mut Uint32
) -> SDL_bool
\brief Convert one of the enumerated pixel formats to a bpp and RGBA masks.
\return SDL_TRUE, or SDL_FALSE if the conversion wasn't possible.
\sa SDL_MasksToPixelFormatEnum()