SDL_GetRenderDrawBlendMode

Function SDL_GetRenderDrawBlendMode 

Source
pub unsafe extern "C" fn SDL_GetRenderDrawBlendMode(
    renderer: *mut SDL_Renderer,
    blendMode: *mut SDL_BlendMode,
) -> bool
Expand description

Get the blend mode used for drawing operations.

§Parameters

  • renderer: the rendering context.
  • blendMode: a pointer filled in with the current SDL_BlendMode.

§Return value

Returns true on success or false on failure; call SDL_GetError() for more information.

§Thread safety

This function should only be called on the main thread.

§Availability

This function is available since SDL 3.2.0.

§See also