Function sdl2_sys::SDL_GetTextureAlphaMod
source ยท pub unsafe extern "C" fn SDL_GetTextureAlphaMod(
texture: *mut SDL_Texture,
alpha: *mut Uint8,
) -> c_int
Expand description
Get the additional alpha value multiplied into render copy operations.
\param texture the texture to query \param alpha a pointer filled in with the current alpha value \returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.
\sa SDL_GetTextureColorMod \sa SDL_SetTextureAlphaMod