[][src]Function sdl2_sys::SDL_GetRGBA

pub unsafe extern "C" fn SDL_GetRGBA(
    pixel: Uint32,
    format: *const SDL_PixelFormat,
    r: *mut Uint8,
    g: *mut Uint8,
    b: *mut Uint8,
    a: *mut Uint8
)

\brief Get the RGBA components from a pixel of the specified format.

\sa SDL_GetRGB