(This is the documentation for SDL3, which is under heavy development and the API is changing! SDL2 is the current stable version!)

SDL_DestroyPixelFormat

Free an SDL_PixelFormat structure allocated by SDL_CreatePixelFormat().

Header File

Defined in <SDL3/SDL_pixels.h>

Syntax

void SDL_DestroyPixelFormat(SDL_PixelFormat *format);

Function Parameters

format the SDL_PixelFormat structure to free

Version

This function is available since SDL 3.0.0.

See Also


CategoryAPI, CategoryAPIFunction, CategoryPixels