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

SDL_ReleaseGPUSampler - Frees the given sampler as soon as it is safe to do so.

Defined in SDL3/SDL_gpu.h

#include "SDL3/SDL.h"
void SDL_ReleaseGPUSampler(
    SDL_GPUDevice *device,
    SDL_GPUSampler *sampler);

You must not reference the sampler after calling this function.

a GPU context.
a sampler to be destroyed.

This function is available since SDL 3.2.0.

SDL 3.2.10 Simple Directmedia Layer