[−][src]Function sdl2_sys::SDL_SetTextureBlendMode
pub unsafe extern "C" fn SDL_SetTextureBlendMode(
texture: *mut SDL_Texture,
blendMode: SDL_BlendMode
) -> c_int
\brief Set the blend mode used for texture copy operations.
\param texture The texture to update. \param blendMode ::SDL_BlendMode to use for texture blending.
\return 0 on success, or -1 if the texture is not valid or the blend mode is not supported.
\note If the blend mode is not supported, the closest supported mode is chosen.
\sa SDL_GetTextureBlendMode()