Function fermium::renderer::SDL_SetTextureBlendMode
source · pub unsafe extern "C" fn SDL_SetTextureBlendMode(
texture: *mut SDL_Texture,
blendMode: SDL_BlendMode
) -> c_int
Expand description
Set the blend mode used for texture copy operations.
texture
The texture to update.blendMode
SDL_BlendMode
to use for texture blending.
Returns: 0 on success, or -1 if the texture is not valid or the blend mode is not supported.
If the blend mode is not supported, the closest supported mode is chosen.
See Also: SDL_GetTextureBlendMode