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

Get the additional alpha value used in render copy operations.

  • texture The texture to query.
  • alpha A pointer filled in with the current alpha value.

Returns: 0 on success, or -1 if the texture is not valid.

See Also: SDL_SetTextureAlphaMod