SDL_DestroyPalette(3)

SDL_DestroyPalette3

Free a palette created with sdl_createpalette ().

Usage

#include "SDL3/SDL.h"

void SDL_DestroyPalette(SDL_Palette *palette);

Header file

Defined in SDL3/SDL_pixels.h

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.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.