table of contents
other versions
- experimental 3.5~git20261111~e7a4fa6+ds-1
| SDL_SetSoftwareRendererSurface(3) | SDL3 FUNCTIONS | SDL_SetSoftwareRendererSurface(3) |
NAME¶
SDL_SetSoftwareRendererSurface - Associate a software renderer with a surface.
SYNOPSIS¶
#include <SDL3/SDL_render.h>
bool SDL_SetSoftwareRendererSurface(SDL_Renderer *renderer, SDL_Surface *surface);
FUNCTION PARAMETERS¶
RETURN VALUE¶
Returns true on success or false on failure; call SDL_GetError() for more information.
THREAD SAFETY¶
This function should be called on the thread that created the renderer.
AVAILABILITY¶
This function is available since SDL 3.6.0.
SEE ALSO¶
| SDL 3.5.0 | Simple Directmedia Layer |