Function sdl2_sys::SDL_GetSurfaceAlphaMod
source ยท pub unsafe extern "C" fn SDL_GetSurfaceAlphaMod(
surface: *mut SDL_Surface,
alpha: *mut Uint8,
) -> c_int
Expand description
\brief Get the additional alpha value used in blit operations.
\param surface The surface to query. \param alpha A pointer filled in with the current alpha value.
\return 0 on success, or -1 if the surface is not valid.
\sa SDL_SetSurfaceAlphaMod()