[][src]Function sdl2_sys::SDL_MapRGBA

pub unsafe extern "C" fn SDL_MapRGBA(
    format: *const SDL_PixelFormat,
    r: Uint8,
    g: Uint8,
    b: Uint8,
    a: Uint8
) -> Uint32

\brief Maps an RGBA quadruple to a pixel value for a given pixel format.

\sa SDL_MapRGB