SDL_GetSurfaceBlendMode3
Get the blend mode used for blit operations.
Usage
#include "SDL3/SDL.h"
bool SDL_GetSurfaceBlendMode(SDL_Surface *surface, SDL_BlendMode *blendMode);
Header file
Defined in SDL3/SDL_surface.h
Function parameters
surface
|
the |
|---|---|
blendMode
|
a pointer filled in with the current |
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.