Function sdl2_sys::SDL_GetSurfaceBlendMode
source ยท pub unsafe extern "C" fn SDL_GetSurfaceBlendMode(
surface: *mut SDL_Surface,
blendMode: *mut SDL_BlendMode,
) -> c_int
Expand description
Get the blend mode used for blit operations.
\param surface the SDL_Surface structure to query \param blendMode a pointer filled in with the current SDL_BlendMode \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_SetSurfaceBlendMode