Function sdl2_sys::SDL_MapRGBA

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

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

\sa SDL_MapRGB