[][src]Function sdl2_sys::SDL_MapRGB

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

\brief Maps an RGB triple to an opaque pixel value for a given pixel format.

\sa SDL_MapRGBA