[][src]Function fermium::renderer::SDL_SetTextureAlphaMod

pub unsafe extern "C" fn SDL_SetTextureAlphaMod(
    texture: *mut SDL_Texture,
    alpha: u8
) -> c_int

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