Function SDL_GetSurfaceColorMod

pub unsafe extern "C" fn SDL_GetSurfaceColorMod(
    surface: *mut SDL_Surface,
    r: *mut u8,
    g: *mut u8,
    b: *mut u8,
) -> i32
Available on crate feature dep_sdl2 only.
Expand description

Get the additional color value multiplied into blit operations.

\param surface the SDL_Surface structure to query \param r a pointer filled in with the current red color value \param g a pointer filled in with the current green color value \param b a pointer filled in with the current blue color value \returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.

\since This function is available since SDL 2.0.0.

\sa SDL_GetSurfaceAlphaMod \sa SDL_SetSurfaceColorMod