DOKK / manpages / debian 13 / libsdl3-doc / SDL_ReleaseGPUGraphicsPipeline.3.en
SDL_ReleaseGPUGraphicsPipeline(3) SDL3 FUNCTIONS SDL_ReleaseGPUGraphicsPipeline(3)

SDL_ReleaseGPUGraphicsPipeline - Frees the given graphics pipeline as soon as it is safe to do so.

Defined in SDL3/SDL_gpu.h

#include "SDL3/SDL.h"
void SDL_ReleaseGPUGraphicsPipeline(
    SDL_GPUDevice *device,
    SDL_GPUGraphicsPipeline *graphics_pipeline);

You must not reference the graphics pipeline after calling this function.

a GPU context.
a graphics pipeline to be destroyed.

This function is available since SDL 3.2.0.

SDL 3.2.10 Simple Directmedia Layer