table of contents
SDL_SetSurfacePalette(3) | SDL3 FUNCTIONS | SDL_SetSurfacePalette(3) |
NAME¶
SDL_SetSurfacePalette - Set the palette used by a surface.
SYNOPSIS¶
#include <SDL3/SDL_surface.h>
bool SDL_SetSurfacePalette(SDL_Surface *surface, SDL_Palette *palette);
DESCRIPTION¶
A single palette can be shared with many surfaces.
FUNCTION PARAMETERS¶
RETURN VALUE¶
for more information.
THREAD SAFETY¶
This function is not thread safe.
AVAILABILITY¶
This function is available since SDL 3.2.0.
SEE ALSO¶
SDL 3.2.14 | Simple Directmedia Layer |