Function fermium::pixels::SDL_GetRGB
source · pub unsafe extern "C" fn SDL_GetRGB(
pixel: u32,
format: *const SDL_PixelFormat,
r: *mut u8,
g: *mut u8,
b: *mut u8
)
Expand description
Get the RGB components from a pixel of the specified format.