Function sdl2_sys::SDL_GetRGB

source ·
pub unsafe extern "C" fn SDL_GetRGB(
    pixel: Uint32,
    format: *const SDL_PixelFormat,
    r: *mut Uint8,
    g: *mut Uint8,
    b: *mut Uint8
)
Expand description

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

\sa SDL_GetRGBA