[−][src]Function sdl2_sys::SDL_SetTextureAlphaMod
pub unsafe extern "C" fn SDL_SetTextureAlphaMod(
texture: *mut SDL_Texture,
alpha: Uint8
) -> c_int
\brief Set an additional alpha value used in render copy operations.
\param texture The texture to update. \param alpha The alpha value multiplied into copy operations.
\return 0 on success, or -1 if the texture is not valid or alpha modulation is not supported.
\sa SDL_GetTextureAlphaMod()