Function fermium::renderer::SDL_SetTextureAlphaMod
source · pub unsafe extern "C" fn SDL_SetTextureAlphaMod(
texture: *mut SDL_Texture,
alpha: u8
) -> c_int
Expand description
Set an additional alpha value used in render copy operations.
texture
The texture to update.alpha
The alpha value multiplied into copy operations.
Returns: 0 on success, or -1 if the texture is not valid or alpha modulation is not supported.
See Also: SDL_GetTextureAlphaMod