Man page - sdl_getsurfacealphamod(3)

Packages contas this manual

Manual

SDL_GetSurfaceAlphaMod(3) SDL3 FUNCTIONS SDL_GetSurfaceAlphaMod(3)

SDL_GetSurfaceAlphaMod - Get the additional alpha value used in blit operations.

Defined in SDL3/SDL_surface.h

#include "SDL3/SDL.h"
bool SDL_GetSurfaceAlphaMod(SDL_Surface *surface, Uint8 *alpha);

the SDL_Surface
structure to query.
a pointer filled in with the current alpha value.

Returns true on success or false on failure; call

SDL_GetError () for more information.

It is safe to call this function from any thread.

This function is available since SDL 3.2.0.

(3), SDL_GetSurfaceColorMod(3), (3), SDL_SetSurfaceAlphaMod(3)

SDL 3.2.10 Simple Directmedia Layer