Function fermium::surface::SDL_SetSurfaceBlendMode [−][src]
pub unsafe extern "C" fn SDL_SetSurfaceBlendMode(
surface: *mut SDL_Surface,
blendMode: SDL_BlendMode
) -> c_int
Set the blend mode used for blit operations.
surface
: The surface to update.blendMode
:SDL_BlendMode
to use for blit blending.
Return: 0 on success, or -1 if the parameters are not valid.