[][src]Function fermium::renderer::SDL_SetRenderDrawBlendMode

pub unsafe extern "C" fn SDL_SetRenderDrawBlendMode(
    renderer: *mut SDL_Renderer,
    blendMode: SDL_BlendMode
) -> c_int

Set the blend mode used for drawing operations (Fill and Line).

  • renderer The renderer for which blend mode should be set.
  • blendMode SDL_BlendMode to use for blending.

Returns: 0 on success, or -1 on error

If the blend mode is not supported, the closest supported mode is chosen.

See Also: SDL_GetRenderDrawBlendMode