Man page - sdl_destroypalette(3)

Packages contains this manual

Manual

SDL_DestroyPalette

NAME
HEADER FILE
SYNOPSIS
FUNCTION PARAMETERS
THREAD SAFETY
AVAILABILITY
SEE ALSO

NAME

SDL_DestroyPalette - Free a palette created with SDL_CreatePalette ().

HEADER FILE

Defined in SDL3/SDL_pixels.h

SYNOPSIS

#include "SDL3/SDL.h"

void SDL_DestroyPalette(SDL_Palette *palette);

FUNCTION PARAMETERS

palette

the SDL_Palette
structure to be freed.

THREAD SAFETY

It is safe to call this function from any thread, as long as the palette is not modified or destroyed in another thread.

AVAILABILITY

This function is available since SDL 3.2.0.

SEE ALSO

(3), SDL_CreatePalette (3)