SDL_ReleaseGPUGraphicsPipeline - Man Page

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

Synopsis

#include <SDL3/SDL_gpu.h>

void SDL_ReleaseGPUGraphicsPipeline(
    SDL_GPUDevice *device,
    SDL_GPUGraphicsPipeline *graphics_pipeline);

Description

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

Function Parameters

device

a GPU context.

graphics_pipeline

a graphics pipeline to be destroyed.

Availability

This function is available since SDL 3.2.0.

Referenced By

SDL_CreateGPUGraphicsPipeline(3), SDL_GPUGraphicsPipeline.3type(3).

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS