[−][src]Function sdl2_sys::SDL_GetRGB
pub unsafe extern "C" fn SDL_GetRGB(
pixel: Uint32,
format: *const SDL_PixelFormat,
r: *mut Uint8,
g: *mut Uint8,
b: *mut Uint8
)
\brief Get the RGB components from a pixel of the specified format.
\sa SDL_GetRGBA