SDL_GetSurfaceAlphaMod3
Get the additional alpha value used in blit operations.
Usage
#include "SDL3/SDL.h"
bool SDL_GetSurfaceAlphaMod(SDL_Surface *surface, Uint8 *alpha);
Header file
Defined in SDL3/SDL_surface.h
Function parameters
surface
|
the |
|---|---|
alpha
|
a pointer filled in with the current alpha value. |
Return value
Returns true on success or false on failure; call
SDL_GetError () for more information.
Thread safety
It is safe to call this function from any thread.