Function sdl2_sys::SDL_MapRGB
source ยท pub unsafe extern "C" fn SDL_MapRGB(
format: *const SDL_PixelFormat,
r: Uint8,
g: Uint8,
b: Uint8,
) -> Uint32
Expand description
\brief Maps an RGB triple to an opaque pixel value for a given pixel format.
\sa SDL_MapRGBA